webcomponents / webcomponents/custom-elements-everywhere

npm ci error

Open
#2,236 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.3k
Forks
108
PR merge metrics
No merged PRs in 30d

Description

how to solve this following error? Thx.
```bash
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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.