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
after npm install, run 'npm run build' which invoke 'vue-cli-service build'. It failed with a lot of linting errors for the local file mounted package. But execute 'npm run build' command again, the build successfully finished. It seems that some intermediate build steps failed in the first run.
What is expected?
The build process should be successful in one single run.
What is actually happening?
Failed at the first run, and success in the consecutive second run.
info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'build' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle [email protected]prebuild: [email protected]
6 info lifecycle [email protected]build: [email protected]
7 verbose lifecycle [email protected]build: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]build: PATH: ...
9 verbose lifecycle [email protected]build: CWD: /Users/lin/Development/factory-portal
10 silly lifecycle [email protected]build: Args: [ '-c', 'vue-cli-service build' ]
11 silly lifecycle [email protected]build: Returned: code: 1 signal: null
12 info lifecycle [email protected]build: Failed to exec build script
13 verbose stack Error: [email protected] build: vue-cli-service build
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/local/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. (/usr/local/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 [email protected]
15 verbose cwd /Users/lin/Development/factory-portal
16 verbose Darwin 19.6.0
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
18 verbose node v12.18.2
19 verbose npm v6.14.7
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] build: vue-cli-service build
22 error Exit status 1
23 error Failed at the [email protected] build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
The text was updated successfully, but these errors were encountered:
Version
4.5.2
Reproduction link
https://github.com/ngti/factory-portal
Environment info
Steps to reproduce
I have a local repo installed as file.
"dependencies": {
"@panter/vue-i18next": "^0.15.2",
"axios": "^0.19.2",
"core-js": "^3.6.5",
"i18next": "^19.6.3",
"sdx": "file:sdx",
"vue": "^2.6.11",
"vue-modal-dialogs": "^3.0.0",
"vue-router": "^3.2.0",
"vuelidate": "^0.7.5",
"vuelidate-error-extractor": "^2.4.1",
"vuex": "^3.4.0"
},
after npm install, run 'npm run build' which invoke 'vue-cli-service build'. It failed with a lot of linting errors for the local file mounted package. But execute 'npm run build' command again, the build successfully finished. It seems that some intermediate build steps failed in the first run.
What is expected?
The build process should be successful in one single run.
What is actually happening?
Failed at the first run, and success in the consecutive second run.
info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'build' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle [email protected]
prebuild: [email protected]build: [email protected]6 info lifecycle [email protected]
7 verbose lifecycle [email protected]
build: unsafe-perm in lifecycle truebuild: PATH: ...8 verbose lifecycle [email protected]
9 verbose lifecycle [email protected]
build: CWD: /Users/lin/Development/factory-portalbuild: Args: [ '-c', 'vue-cli-service build' ]10 silly lifecycle [email protected]
11 silly lifecycle [email protected]
build: Returned: code: 1 signal: nullbuild: Failed to exec build script12 info lifecycle [email protected]
13 verbose stack Error: [email protected] build:
vue-cli-service build
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/local/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. (/usr/local/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 [email protected]
15 verbose cwd /Users/lin/Development/factory-portal
16 verbose Darwin 19.6.0
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
18 verbose node v12.18.2
19 verbose npm v6.14.7
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] build:
vue-cli-service build
22 error Exit status 1
23 error Failed at the [email protected] build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
The text was updated successfully, but these errors were encountered: