You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ curl -L https://www.npmjs.com/install.sh | npm_install=7.0.6 shfetching: https://registry.npmjs.org/npm/-/npm-7.0.6.tgzup to date in 631msfound 0 vulnerabilitiesnpm ERR! code 2npm ERR! path /tmp/npm.15/packagenpm ERR! command failednpm ERR! command sh -c node bin/npm-cli.js rebuild && make -j4npm ERR! rebuilt dependencies successfullynpm ERR! node bin/npm-cli.js install marked --no-global --no-timing --no-savenpm ERR! node bin/npm-cli.js install marked-man --no-global --no-timing --no-savenpm ERR! cd docs && node dockhand.js >&2npm ERR! node:internal/modules/cjs/loader:903npm ERR! throw err;npm ERR! ^npm ERR! npm ERR! Error: Cannot find module 'yaml'npm ERR! Require stack:npm ERR! - /tmp/npm.15/package/docs/dockhand.jsnpm ERR! at Function.Module._resolveFilename (node:internal/modules/cjs/loader:900:15)npm ERR! at Function.Module._load (node:internal/modules/cjs/loader:745:27)npm ERR! at Module.require (node:internal/modules/cjs/loader:972:19)npm ERR! at require (node:internal/modules/cjs/helpers:88:18)npm ERR! at Object.<anonymous> (/tmp/npm.15/package/docs/dockhand.js:5:14)npm ERR! at Module._compile (node:internal/modules/cjs/loader:1083:30)npm ERR! at Object.Module._extensions..js (node:internal/modules/cjs/loader:1112:10)npm ERR! at Module.load (node:internal/modules/cjs/loader:948:32)npm ERR! at Function.Module._load (node:internal/modules/cjs/loader:789:14)npm ERR! at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:72:12) {npm ERR! code: 'MODULE_NOT_FOUND',npm ERR! requireStack: [ '/tmp/npm.15/package/docs/dockhand.js' ]npm ERR! }npm ERR! make: *** [Makefile:59: htmldocs] Error 1npm ERR! make: *** Waiting for unfinished jobs....npm ERR! npm ERR! code ERESOLVEnpm ERR! npm ERR! ERESOLVE unable to resolve dependency treenpm ERR! npm ERR! npm ERR! npm ERR! While resolving: [email protected]npm ERR! npm ERR! Found: [email protected]npm ERR! npm ERR! node_modules/markednpm ERR! npm ERR! marked@"*" from the root projectnpm ERR! npm ERR! npm ERR! npm ERR! Could not resolve dependency:npm ERR! npm ERR! peer marked@"^0.7.0" from [email protected]npm ERR! npm ERR! node_modules/marked-mannpm ERR! npm ERR! dev marked-man@"^0.7.0" from the root projectnpm ERR! npm ERR! npm ERR! npm ERR! Fix the upstream dependency conflict, or retrynpm ERR! npm ERR! this command with --force, or --legacy-peer-depsnpm ERR! npm ERR! to accept an incorrect (and potentially broken) dependency resolution.npm ERR! npm ERR! npm ERR! npm ERR! See /root/.npm/eresolve-report.txt for a full report.npm ERR! npm ERR! npm ERR! A complete log of this run can be found in:npm ERR! npm ERR! /root/.npm/_logs/2020-10-28T01_47_14_567Z-debug.lognpm ERR! make: *** [Makefile:109: node_modules/.bin/marked] Error 1npm ERR! npm ERR! code 1npm ERR! npm ERR! path /tmp/npm.15/package/node_modules/cmark-gfmnpm ERR! npm ERR! command failednpm ERR! npm ERR! command sh -c prebuild-install || node-gyp rebuildnpm ERR! npm ERR! make[1]: Entering directory '/tmp/npm.15/package/node_modules/cmark-gfm/build'npm ERR! npm ERR! CC(target) Release/obj.target/nothing/../node-addon-api/nothing.onpm ERR! npm ERR! make[1]: Leaving directory '/tmp/npm.15/package/node_modules/cmark-gfm/build'npm ERR! npm ERR! make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.npm ERR! npm ERR! make[1]: cc: No such file or directorynpm ERR! npm ERR! make[1]: *** [../node-addon-api/nothing.target.mk:107: Release/obj.target/nothing/../node-addon-api/nothing.o] Error 127npm ERR! npm ERR! gyp ERR! build error npm ERR! npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2npm ERR! npm ERR! gyp ERR! stack at ChildProcess.onExit (/tmp/npm.15/package/node_modules/node-gyp/lib/build.js:194:23)npm ERR! npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:327:20)npm ERR! npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:277:12)npm ERR! npm ERR! gyp ERR! System Linux 5.4.39-linuxkitnpm ERR! npm ERR! gyp ERR! command "/usr/bin/node" "/tmp/npm.15/package/node_modules/.bin/node-gyp" "rebuild"npm ERR! npm ERR! gyp ERR! cwd /tmp/npm.15/package/node_modules/cmark-gfmnpm ERR! npm ERR! gyp ERR! node -v v15.0.1npm ERR! npm ERR! gyp ERR! node-gyp -v v7.1.2npm ERR! npm ERR! gyp ERR! not oknpm ERR! npm ERR! npm ERR! A complete log of this run can be found in:npm ERR! npm ERR! /root/.npm/_logs/2020-10-28T01_47_33_777Z-debug.lognpm ERR! make: *** [Makefile:114: node_modules/.bin/marked-man] Error 1npm ERR! A complete log of this run can be found in:npm ERR! /root/.npm/_logs/2020-10-28T01_47_33_870Z-debug.lognpm ERR! code 1npm ERR! path /tmp/npm.15/packagenpm ERR! command failednpm ERR! command sh -c node bin/npm-cli.js rebuild && make -j4npm ERR! npm ERR! Cannot read property 'isRoot' of nullnpm ERR! npm ERR! npm ERR! A complete log of this run can be found in:npm ERR! npm ERR! /root/.npm/_logs/2020-10-28T01_47_36_776Z-debug.lognpm ERR! A complete log of this run can be found in:npm ERR! /root/.npm/_logs/2020-10-28T01_47_36_804Z-debug.logIt failed
Expected Behavior:
7.0.6 should install like 7.0.4 and previous versions do using this script
Steps To Reproduce:
docker run --rm mhart/alpine-node:slim sh -c \
'apk add --no-cache curl make bash && curl -L https://www.npmjs.com/install.sh | npm_install=7.0.6 sh'
Environment:
Node.js 15.0.1
Alpine Linux
The last working version seems to be 7.0.4:
$ docker run --rm mhart/alpine-node:slim sh -c \ 'apk add --no-cache curl make bash && curl -L https://www.npmjs.com/install.sh | npm_install=7.0.6 sh'fetching: https://registry.npmjs.org/npm/-/npm-7.0.4.tgzremoved 248 packages in 1sfound 0 vulnerabilitiesadded 1 package, and audited 248 packages in 11s10 packages are looking for funding run `npm fund` for detailsfound 0 vulnerabilitiesIt worked
The text was updated successfully, but these errors were encountered:
Current Behavior:
Expected Behavior:
7.0.6 should install like 7.0.4 and previous versions do using this script
Steps To Reproduce:
Environment:
Node.js 15.0.1
Alpine Linux
The last working version seems to be 7.0.4:
The text was updated successfully, but these errors were encountered: