content-and-experience-toolkit
content-and-experience-toolkit copied to clipboard
not able to perform npm install on sites folder, getting the below issue
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
What's your node/npm version? Have you added ssh key to github account?
What's your node/npm version? Have you added ssh key to github account?
yes, i have added the ssh key to github.
can you try to use node v14.17.3?
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