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

npm ci error #2236

Open
xsf0105 opened this issue Jul 11, 2023 · 0 comments
Open

npm ci error #2236

xsf0105 opened this issue Jul 11, 2023 · 0 comments

Comments

@xsf0105
Copy link

xsf0105 commented Jul 11, 2023

how to solve this following error? Thx.

custom-elements-everywhere git:(main) ✗ npm ci
npm WARN prepare removing existing node_modules/ before installation

> custom-elements-everywhere@1.0.0 install /Users/xxx/Desktop/custom-elements-everywhere
> node scripts/install.mjs

⠏ Running `npm ci` in /Users/xxx/Desktop/custom-elements-everywhere/libraries/ominode:internal/errors:841
  const err = new Error(message);
              ^

Error: Command failed: npm ci
npm WARN prepare removing existing node_modules/ before installation
-- ERROR -----------------------------------------------------------------------

Something went wrong while fetching the following URL:

https://github.com/elm/compiler/releases/download/0.19.1/binary-for-mac-64-bit.gz

It is saying:

Error: aborted

NOTE: You can avoid npm entirely by downloading directly from:
https://github.com/elm/compiler/releases/download/0.19.1/binary-for-mac-64-bit.gz
All this package does is download that file and put it somewhere.

--------------------------------------------------------------------------------

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! elm@0.19.1-5 install: `node install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the elm@0.19.1-5 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/xxx/.npm/_cacache/_logs/2023-07-11T02_47_31_328Z-debug.log

    at ChildProcess.exithandler (node:child_process:398:12)
    at ChildProcess.emit (node:events:527:28)
    at maybeClose (node:internal/child_process:1092:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) {
  code: 1,
  killed: false,
  signal: null,
  cmd: 'npm ci',
  stdout: '\n' +
    '> core-js@2.6.12 postinstall /Users/xxx/Desktop/custom-elements-everywhere/libraries/omi/node_modules/core-js\n' +
    `> node -e "try{require('./postinstall')}catch(e){}"\n` +
    '\n' +
    '\n' +
    '> elm@0.19.1-5 install /Users/xxx/Desktop/custom-elements-everywhere/libraries/omi/node_modules/elm\n' +
    '> node install.js\n' +
    '\n' +
    '--------------------------------------------------------------------------------\n' +
    '\n' +
    'Downloading Elm 0.19.1 from GitHub.\n' +
    '\n' +
    'NOTE: You can avoid npm entirely by downloading directly from:\n' +
    'https://github.com/elm/compiler/releases/download/0.19.1/binary-for-mac-64-bit.gz\n' +
    'All this package does is download that file and put it somewhere.\n' +
    '\n' +
    '--------------------------------------------------------------------------------\n' +
    '\n',
  stderr: 'npm WARN prepare removing existing node_modules/ before installation\n' +
    '-- ERROR -----------------------------------------------------------------------\n' +
    '\n' +
    'Something went wrong while fetching the following URL:\n' +
    '\n' +
    'https://github.com/elm/compiler/releases/download/0.19.1/binary-for-mac-64-bit.gz\n' +
    '\n' +
    'It is saying:\n' +
    '\n' +
    'Error: aborted\n' +
    '\n' +
    'NOTE: You can avoid npm entirely by downloading directly from:\n' +
    'https://github.com/elm/compiler/releases/download/0.19.1/binary-for-mac-64-bit.gz\n' +
    'All this package does is download that file and put it somewhere.\n' +
    '\n' +
    '--------------------------------------------------------------------------------\n' +
    '\n' +
    'npm ERR! code ELIFECYCLE\n' +
    'npm ERR! errno 1\n' +
    'npm ERR! elm@0.19.1-5 install: `node install.js`\n' +
    'npm ERR! Exit status 1\n' +
    'npm ERR! \n' +
    'npm ERR! Failed at the elm@0.19.1-5 install script.\n' +
    'npm ERR! This is probably not a problem with npm. There is likely additional logging output above.\n' +
    '\n' +
    'npm ERR! A complete log of this run can be found in:\n' +
    'npm ERR!     /Users/xxx/.npm/_cacache/_logs/2023-07-11T02_47_31_328Z-debug.log\n'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! custom-elements-everywhere@1.0.0 install: `node scripts/install.mjs`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the custom-elements-everywhere@1.0.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/xxx/.npm/_logs/2023-07-11T02_47_31_405Z-debug.log
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

1 participant