Skip to content

Instantly share code, notes, and snippets.

@umarov
Created March 12, 2018 15:26
Show Gist options
  • Save umarov/887a043ec5562f623680f4fc441f7fb7 to your computer and use it in GitHub Desktop.
Save umarov/887a043ec5562f623680f4fc441f7fb7 to your computer and use it in GitHub Desktop.
Npm ci prefix error
0 info it worked if it ends with ok
1 verbose cli [ '/home/mumarov/.nvm/versions/node/v9.7.1/bin/node',
1 verbose cli '/home/mumarov/.nvm/versions/node/v9.7.1/bin/npm',
1 verbose cli 'ci',
1 verbose cli '--prefix',
1 verbose cli './node_modules',
1 verbose cli '--userconfig',
1 verbose cli '../../.npmrc' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session 178bf6080b3f4d7d
5 silly init starting workers
6 verbose stack TypeError: (intermediate value)(intermediate value)(intermediate value).then is not a function
6 verbose stack at Installer.prepare (/home/mumarov/.nvm/versions/node/v9.7.1/lib/node_modules/npm/node_modules/libcipm/index.js:69:6)
6 verbose stack at Installer.run (/home/mumarov/.nvm/versions/node/v9.7.1/lib/node_modules/npm/node_modules/libcipm/index.js:43:17)
6 verbose stack at EventEmitter.ci (/home/mumarov/.nvm/versions/node/v9.7.1/lib/node_modules/npm/lib/ci.js:30:4)
6 verbose stack at Object.commandCache.(anonymous function) (/home/mumarov/.nvm/versions/node/v9.7.1/lib/node_modules/npm/lib/npm.js:159:13)
6 verbose stack at EventEmitter.<anonymous> (/home/mumarov/.nvm/versions/node/v9.7.1/lib/node_modules/npm/bin/npm-cli.js:84:30)
6 verbose stack at process._tickCallback (internal/process/next_tick.js:112:11)
7 verbose cwd /home/mumarov/code/optics/app/warehouse_metrics
8 verbose Linux 4.13.0-36-generic
9 verbose argv "/home/mumarov/.nvm/versions/node/v9.7.1/bin/node" "/home/mumarov/.nvm/versions/node/v9.7.1/bin/npm" "ci" "--prefix" "./node_modules" "--userconfig" "../../.npmrc"
10 verbose node v9.7.1
11 verbose npm v5.7.1
12 error (intermediate value)(intermediate value)(intermediate value).then is not a function
13 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment