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

Cannot install on MacOS #13

Open
avtSACH opened this issue Jul 6, 2021 · 6 comments
Open

Cannot install on MacOS #13

avtSACH opened this issue Jul 6, 2021 · 6 comments

Comments

@avtSACH
Copy link

avtSACH commented Jul 6, 2021

When running npm install, the following error occurs:

[email protected] postinstall
gulp --gulpfile bin/gulpfile.js copy-libs && npm install bin/cec --no-save || npm install bin\cec --no-save

[12:45:27] Working directory changed to ~/Projects/content-and-experience-toolkit/sites/bin
[12:45:28] Using gulpfile ~/Projects/content-and-experience-toolkit/sites/bin/gulpfile.js
[12:45:28] Starting 'copy-libs'...
Copying... ../node_modules/es6-promise//*
Copying... ../node_modules/@oracle/oraclejet/
/*
Copying... ../node_modules/requirejs//*
Copying... ../node_modules/requirejs-text/
/*
Copying... ../node_modules/require-css//*
Copying... ../node_modules/jquery-ui/
/*
Copying... ../node_modules/@fortawesome/fontawesome-free//*
Copying... ../node_modules/webcomponents.js/
/*
Copying... ../node_modules/es6-promise//*
Copying... ../node_modules/hammerjs/
/*
Copying... ../node_modules/simplebar//*
Copying... ../node_modules/knockout/
/*
Copying... ../node_modules/jquery//*
Copying... ../node_modules/@webcomponents/custom-elements/
/*

To use the CEC command line util, add the following directory to your PATH:

/Users/samuel.campos/Projects/content-and-experience-toolkit/sites/node_modules/.bin

[12:45:28] Finished 'copy-libs' after 18 ms
npm ERR! code 128
npm ERR! command failed
npm ERR! command git --no-replace-objects ls-remote ssh://[email protected]/bin/cec.git
npm ERR! ERROR: Repository not found.
npm ERR! fatal: No se pudo leer del repositorio remoto.
npm ERR!
npm ERR! Por favor asegúrate que tienes los permisos de acceso correctos
npm ERR! y que el repositorio existe.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/samuel.campos/.npm/_logs/2021-07-06T10_45_46_192Z-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/samuel.campos/.npm/_logs/2021-07-06T10_45_48_331Z-debug.log
npm ERR! code 1
npm ERR! path /Users/samuel.campos/Projects/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/samuel.campos/.npm/_logs/2021-07-06T10_45_48_363Z-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?

@avtSACH
Copy link
Author

avtSACH commented Jul 7, 2021

Hello:

My node version is 16.4.2 I've also added my ssh key to my github account. The error says:

'bincec@*' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)

I've also created a SR in Oracle support because we need this tool for a project we are currently working on.

Best regards.

@hzeng99
Copy link
Contributor

hzeng99 commented Jul 7, 2021

Can you change to use node v14.17.3?

@avtSACH
Copy link
Author

avtSACH commented Jul 7, 2021

Now works.

Please update README.md to clarify that cec tool only works with node version 14.17.3

Thank you.

@tcaruth
Copy link

tcaruth commented Oct 22, 2021

For other developer's reference, the readme does now specify a version

Related issue: #12

I got this same error recently while running node v12.14.1, and reinstalling node 12.14.1 with nvm and upgrading npm to 8.0.0 fixed my issue.

@tcaruth
Copy link

tcaruth commented Oct 25, 2021

This error happened again today after the 21.10.2 release when using Node 12.14.1.

Upgrading to 14.17.3 allowed me to run npm install without errors

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