You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@druid.apache.org by Eyal Yurman <ey...@verizonmedia.com.INVALID> on 2019/07/11 16:39:47 UTC

npm ci error while building from source

Hi,

Has anyone encountered the following error?

mvn clean install -PskipTests

[INFO] --- frontend-maven-plugin:1.6:npm (npm-install) @ druid-console ---
[INFO] Running 'npm ci' in
/Users/eyurman14/git/yurmix-incubating-druid/web-console
[ERROR] npm ERR! code ETARGET
[ERROR] npm ERR! notarget No matching version found for
@types/react-copy-to-clipboard@4.2.6
[ERROR] npm ERR! notarget In most cases you or one of your dependencies are
requesting
[ERROR] npm ERR! notarget a package version that doesn't exist.
[ERROR]
[ERROR] npm ERR! A complete log of this run can be found in:
[ERROR] npm ERR!
/Users/eyurman14/.npm/_logs/2019-07-11T16_34_32_404Z-debug.log

Re: npm ci error while building from source

Posted by Eyal Yurman <ey...@verizonmedia.com.INVALID>.
Aha! mystery solved.

.npmrc was pointing to an internal npm registry which couldn't provide the
packages.

Thanks Adam!

On Thu, Jul 11, 2019 at 10:32 AM Adam Peck <ad...@imply.io> wrote:

> Do you have any registry overrides in a .npmrc file?
> https://docs.npmjs.com/files/npmrc
>
> On Thu, Jul 11, 2019 at 11:21 AM Gian Merlino <gi...@apache.org> wrote:
>
> > I haven't seen something like that before. The package version 4.2.6 is
> > here on NPM:
> https://www.npmjs.com/package/@types/react-copy-to-clipboard
> >
> > Is it possible your build environment is blocking NPM?
> >
> > On Thu, Jul 11, 2019 at 9:43 AM Eyal Yurman
> > <ey...@verizonmedia.com.invalid> wrote:
> >
> > > The mvn command was actually:
> > > mvn clean install -Pdist -DskipTests, from IntelliJ
> > > (It shouldn't matter though)
> > >
> > > On Thu, Jul 11, 2019 at 9:39 AM Eyal Yurman <
> eyurman14@verizonmedia.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > Has anyone encountered the following error?
> > > >
> > > > mvn clean install -PskipTests
> > > >
> > > > [INFO] --- frontend-maven-plugin:1.6:npm (npm-install) @
> druid-console
> > > ---
> > > > [INFO] Running 'npm ci' in
> > > > /Users/eyurman14/git/yurmix-incubating-druid/web-console
> > > > [ERROR] npm ERR! code ETARGET
> > > > [ERROR] npm ERR! notarget No matching version found for
> > > > @types/react-copy-to-clipboard@4.2.6
> > > > [ERROR] npm ERR! notarget In most cases you or one of your
> dependencies
> > > > are requesting
> > > > [ERROR] npm ERR! notarget a package version that doesn't exist.
> > > > [ERROR]
> > > > [ERROR] npm ERR! A complete log of this run can be found in:
> > > > [ERROR] npm ERR!
> > > > /Users/eyurman14/.npm/_logs/2019-07-11T16_34_32_404Z-debug.log
> > > >
> > > >
> > >
> >
>

Re: npm ci error while building from source

Posted by Adam Peck <ad...@imply.io>.
Do you have any registry overrides in a .npmrc file?
https://docs.npmjs.com/files/npmrc

On Thu, Jul 11, 2019 at 11:21 AM Gian Merlino <gi...@apache.org> wrote:

> I haven't seen something like that before. The package version 4.2.6 is
> here on NPM: https://www.npmjs.com/package/@types/react-copy-to-clipboard
>
> Is it possible your build environment is blocking NPM?
>
> On Thu, Jul 11, 2019 at 9:43 AM Eyal Yurman
> <ey...@verizonmedia.com.invalid> wrote:
>
> > The mvn command was actually:
> > mvn clean install -Pdist -DskipTests, from IntelliJ
> > (It shouldn't matter though)
> >
> > On Thu, Jul 11, 2019 at 9:39 AM Eyal Yurman <ey...@verizonmedia.com>
> > wrote:
> >
> > > Hi,
> > >
> > > Has anyone encountered the following error?
> > >
> > > mvn clean install -PskipTests
> > >
> > > [INFO] --- frontend-maven-plugin:1.6:npm (npm-install) @ druid-console
> > ---
> > > [INFO] Running 'npm ci' in
> > > /Users/eyurman14/git/yurmix-incubating-druid/web-console
> > > [ERROR] npm ERR! code ETARGET
> > > [ERROR] npm ERR! notarget No matching version found for
> > > @types/react-copy-to-clipboard@4.2.6
> > > [ERROR] npm ERR! notarget In most cases you or one of your dependencies
> > > are requesting
> > > [ERROR] npm ERR! notarget a package version that doesn't exist.
> > > [ERROR]
> > > [ERROR] npm ERR! A complete log of this run can be found in:
> > > [ERROR] npm ERR!
> > > /Users/eyurman14/.npm/_logs/2019-07-11T16_34_32_404Z-debug.log
> > >
> > >
> >
>

Re: npm ci error while building from source

Posted by Gian Merlino <gi...@apache.org>.
I haven't seen something like that before. The package version 4.2.6 is
here on NPM: https://www.npmjs.com/package/@types/react-copy-to-clipboard

Is it possible your build environment is blocking NPM?

On Thu, Jul 11, 2019 at 9:43 AM Eyal Yurman
<ey...@verizonmedia.com.invalid> wrote:

> The mvn command was actually:
> mvn clean install -Pdist -DskipTests, from IntelliJ
> (It shouldn't matter though)
>
> On Thu, Jul 11, 2019 at 9:39 AM Eyal Yurman <ey...@verizonmedia.com>
> wrote:
>
> > Hi,
> >
> > Has anyone encountered the following error?
> >
> > mvn clean install -PskipTests
> >
> > [INFO] --- frontend-maven-plugin:1.6:npm (npm-install) @ druid-console
> ---
> > [INFO] Running 'npm ci' in
> > /Users/eyurman14/git/yurmix-incubating-druid/web-console
> > [ERROR] npm ERR! code ETARGET
> > [ERROR] npm ERR! notarget No matching version found for
> > @types/react-copy-to-clipboard@4.2.6
> > [ERROR] npm ERR! notarget In most cases you or one of your dependencies
> > are requesting
> > [ERROR] npm ERR! notarget a package version that doesn't exist.
> > [ERROR]
> > [ERROR] npm ERR! A complete log of this run can be found in:
> > [ERROR] npm ERR!
> > /Users/eyurman14/.npm/_logs/2019-07-11T16_34_32_404Z-debug.log
> >
> >
>

Re: npm ci error while building from source

Posted by Eyal Yurman <ey...@verizonmedia.com.INVALID>.
The mvn command was actually:
mvn clean install -Pdist -DskipTests, from IntelliJ
(It shouldn't matter though)

On Thu, Jul 11, 2019 at 9:39 AM Eyal Yurman <ey...@verizonmedia.com>
wrote:

> Hi,
>
> Has anyone encountered the following error?
>
> mvn clean install -PskipTests
>
> [INFO] --- frontend-maven-plugin:1.6:npm (npm-install) @ druid-console ---
> [INFO] Running 'npm ci' in
> /Users/eyurman14/git/yurmix-incubating-druid/web-console
> [ERROR] npm ERR! code ETARGET
> [ERROR] npm ERR! notarget No matching version found for
> @types/react-copy-to-clipboard@4.2.6
> [ERROR] npm ERR! notarget In most cases you or one of your dependencies
> are requesting
> [ERROR] npm ERR! notarget a package version that doesn't exist.
> [ERROR]
> [ERROR] npm ERR! A complete log of this run can be found in:
> [ERROR] npm ERR!
> /Users/eyurman14/.npm/_logs/2019-07-11T16_34_32_404Z-debug.log
>
>