Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not able to perform npm install on sites folder, getting the below issue #12

Open
desuvinaykumar opened this issue Jul 6, 2021 · 4 comments

Comments

@desuvinaykumar
Copy link

npm ERR! code 128
npm ERR! command failed
npm ERR! command git ls-remote ssh://[email protected]/bin/cec.git
npm ERR! ERROR: Repository not found.
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/vinaydesu/.npm/_logs/2021-07-06T10_34_31_518Z-debug.log
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/bincec - Not found
npm ERR! 404
npm ERR! 404 'bincec@*' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/vinaydesu/.npm/_logs/2021-07-06T10_34_35_497Z-debug.log
npm ERR! code 1
npm ERR! path /Users/vinaydesu/workspace/mysitesrepos/content-and-experience-toolkit/sites
npm ERR! command failed
npm ERR! command sh -c gulp --gulpfile bin/gulpfile.js copy-libs && npm install bin/cec --no-save || npm install bin\cec --no-save

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/vinaydesu/.npm/_logs/2021-07-06T10_34_35_554Z-debug.log

@hzeng99
Copy link
Contributor

hzeng99 commented Jul 6, 2021

What's your node/npm version?
Have you added ssh key to github account?

@desuvinaykumar
Copy link
Author

What's your node/npm version?
Have you added ssh key to github account?

image
yes, i have added the ssh key to github.

@hzeng99
Copy link
Contributor

hzeng99 commented Jul 7, 2021

can you try to use node v14.17.3?

@invingagan1
Copy link

Hi, I found the resolution. There is a mistake in package.json

I have changed following lines:
"postinstall": "gulp --gulpfile bin/gulpfile.js copy-libs && npm install ./bin/cec --no-save || npm install .\bin\cec --no-save",
"install-cec": "npm install -g ./bin/cec"

It will work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants