Hello,
Below, the error when I execute npm run dist
.
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/home/ap/.nvm/versions/node/v12.18.3/bin/node',
1 verbose cli '/home/ap/.nvm/versions/node/v12.18.3/bin/npm',
1 verbose cli 'run',
1 verbose cli 'dist'
1 verbose cli ]
2 info using npm@6.14.6
3 info using node@v12.18.3
4 verbose run-script [ 'predist', 'dist', 'postdist' ]
5 info lifecycle bitwarden-web@2.15.1~predist: bitwarden-web@2.15.1
6 info lifecycle bitwarden-web@2.15.1~dist: bitwarden-web@2.15.1
7 verbose lifecycle bitwarden-web@2.15.1~dist: unsafe-perm in lifecycle true
8 verbose lifecycle bitwarden-web@2.15.1~dist: PATH: /home/ap/.nvm/versions/node/v12.18.3/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/ap/vault/node_modules/.bin:/home/ap/.nvm/versions/node/v12.18.3/bin:/home/ap/.cargo/bin:/home/ap/.cargo/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/ap/.local/bin:/home/ap/bin
9 verbose lifecycle bitwarden-web@2.15.1~dist: CWD: /home/ap/vault
10 silly lifecycle bitwarden-web@2.15.1~dist: Args: [ '-c', 'npm run build:prod && gulp postdist' ]
11 silly lifecycle bitwarden-web@2.15.1~dist: Returned: code: 1 signal: null
12 info lifecycle bitwarden-web@2.15.1~dist: Failed to exec dist script
13 verbose stack Error: bitwarden-web@2.15.1 dist: `npm run build:prod && gulp postdist`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/home/ap/.nvm/versions/node/v12.18.3/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:315:20)
13 verbose stack at ChildProcess.<anonymous> (/home/ap/.nvm/versions/node/v12.18.3/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:315:20)
13 verbose stack at maybeClose (internal/child_process.js:1021:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
14 verbose pkgid bitwarden-web@2.15.1
15 verbose cwd /home/ap/vault
16 verbose Linux 3.10.0-1127.el7.x86_64
17 verbose argv "/home/ap/.nvm/versions/node/v12.18.3/bin/node" "/home/ap/.nvm/versions/node/v12.18.3/bin/npm" "run" "dist"
18 verbose node v12.18.3
19 verbose npm v6.14.6
20 error code ELIFECYCLE
21 error errno 1
22 error bitwarden-web@2.15.1 dist: `npm run build:prod && gulp postdist`
22 error Exit status 1
23 error Failed at the bitwarden-web@2.15.1 dist script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
What is going on?
In advance, thanks!