Mike Nedelko
Mike Nedelko

Reputation: 709

Keystonejs install fails due to [email protected] dependency issue

I am attempting to install Keystonejs following these instructions, but I am receiving a dependency error message when installing yo:

npm ERR! code ETARGET
npm ERR! notarget No matching version found for [email protected]
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

SPECS: node v8.9.4 OS: macOS HighSierra V10.13.3

It appears that [email protected] had an issue with the NPM register at the time, but this makes me wonder why this hasn't be upgraded within yo - which in turn makes me thing I am somehow screwing up the process.

Anyway anyone could point me in the right direction would be highly appreciated.

Mike

Upvotes: 1

Views: 125

Answers (1)

Megidd
Megidd

Reputation: 7938

I don't have the answer, but I just thought I'd share with you:

My node is v7.10.1 and my npm is 4.2.0 and I can install lodash@3.3.1 without any problem:

me@computer:~/Downloads/lodash-test$ npm install [email protected]
/home/me/Downloads/lodash-test
└── [email protected] 

Also I can install yo without any issue, and the its lodash dependencies have version 4.17.5:

me@computer:~/Downloads/lodash-test$ npm install yo
...
...
Yeoman Doctor
Running sanity checks on your system

✔ Global configuration file is valid
✔ NODE_PATH matches the npm root
✔ Node.js version
✔ No .bowerrc file in home directory
✔ No .yo-rc.json file in home directory
✔ npm version

Everything looks all right!
/home/me/Downloads/lodash-test
└─┬ [email protected] 
  ├─┬ [email protected] 
  │ └── [email protected] 
...
...
  ├── [email protected] 
  ├─┬ [email protected] 
  │ ├─┬ [email protected] 
...
...

I developed a web page with KeystoneJS a few months ago around December 2017. When I look at its package.json file, I see that the lodash version is 4.13.1:

    ...
    "keystone": "4.0.0-beta.5",
    "lodash": "^4.13.1",
    ...

Upvotes: 1

Related Questions