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
{{ message }}
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
I'm opening this issue because:
What's going wrong?
npm ci with prefix is not working
How can the CLI team reproduce the problem?
npm ci --prefix=./app/sample-ui/
Error: npm ERR! (intermediate value)(intermediate value)(intermediate value).then is not a function
Error Log
0 info it worked if it ends with ok
1 verbose cli [ '/Users/pratb/.nvm/versions/node/v8.9.4/bin/node',
1 verbose cli '/Users/pratb/.nvm/versions/node/v8.9.4/bin/npm',
1 verbose cli 'ci',
1 verbose cli '--prefix=./app/pnp-ui/' ]
2 info using npm@5.8.0
3 info using node@v8.9.4
4 verbose npm-session 6d041cc2916b36b6
5 info prepare initializing installer
6 verbose prepare starting workers
7 verbose stack TypeError: (intermediate value)(intermediate value)(intermediate value).then is not a function
7 verbose stack at Installer.prepare (/Users/pratb/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/libcipm/index.js:97:8)
7 verbose stack at Installer.timedStage (/Users/pratb/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/libcipm/index.js:43:34)
7 verbose stack at Installer.run (/Users/pratb/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/libcipm/index.js:52:17)
7 verbose stack at EventEmitter.ci (/Users/pratb/.nvm/versions/node/v8.9.4/lib/node_modules/npm/lib/ci.js:30:4)
7 verbose stack at Object.commandCache.(anonymous function) (/Users/pratb/.nvm/versions/node/v8.9.4/lib/node_modules/npm/lib/npm.js:159:13)
7 verbose stack at EventEmitter. (/Users/pratb/.nvm/versions/node/v8.9.4/lib/node_modules/npm/bin/npm-cli.js:84:30)
7 verbose stack at _combinedTickCallback (internal/process/next_tick.js:131:7)
7 verbose stack at process._tickCallback (internal/process/next_tick.js:180:9)
8 verbose cwd /Users/pratb/Documents/GITBASE/DNAC/plugins/pnp-app/ui-plugins/pnp-ui
9 verbose Darwin 17.3.0
10 verbose argv "/Users/pratb/.nvm/versions/node/v8.9.4/bin/node" "/Users/pratb/.nvm/versions/node/v8.9.4/bin/npm" "ci" "--prefix=./app/pnp-ui/"
11 verbose node v8.9.4
12 verbose npm v5.8.0
13 error (intermediate value)(intermediate value)(intermediate value).then is not a function
14 verbose exit [ 1, true ]
supporting information:
npm -v
prints: 8.9.4node -v
prints:5.8.0npm config get registry
prints:What's the feature?
--PREFIX NOT WOKRING
What problem is the feature intended to solve?
Is the absence of this feature blocking you or your team? If so, how?
Build system having multiple module which need to be prefix while running the npm ci.
Is this a feature you're prepared to implement, with support from the npm CLI team?
YES
The text was updated successfully, but these errors were encountered: