vue-admin icon indicating copy to clipboard operation
vue-admin copied to clipboard

Installation Error

Open bhavesh78 opened this issue 7 years ago • 0 comments

0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/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 silly lifecycle [email protected]~prebuild: no script for prebuild, continuing 7 info lifecycle [email protected]~build: [email protected] 8 verbose lifecycle [email protected]~build: unsafe-perm in lifecycle true 9 verbose lifecycle [email protected]~build: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/home/bhavesh/vue-admin-master/node_modules/.bin:/usr/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin 10 verbose lifecycle [email protected]~build: CWD: /home/bhavesh/vue-admin-master 11 silly lifecycle [email protected]~build: Args: [ '-c', 'cross-env NODE_ENV=production node build/build.js' ] 12 info lifecycle [email protected]~build: Failed to exec build script 13 verbose stack Error: [email protected] build: cross-env NODE_ENV=production node build/build.js 13 verbose stack spawn ENOENT 13 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/lib/utils/spawn.js:33:16) 13 verbose stack at emitTwo (events.js:106:13) 13 verbose stack at ChildProcess.emit (events.js:191:7) 13 verbose stack at maybeClose (internal/child_process.js:891:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) 14 verbose pkgid [email protected] 15 verbose cwd /home/bhavesh/vue-admin-master 16 error Linux 4.10.8-200.fc25.x86_64 17 error argv "/usr/bin/node" "/bin/npm" "run" "build" 18 error node v6.11.2 19 error npm v3.10.10 20 error file sh 21 error code ELIFECYCLE 22 error errno ENOENT 23 error syscall spawn 24 error [email protected] build: cross-env NODE_ENV=production node build/build.js 24 error spawn ENOENT 25 error Failed at the [email protected] build script 'cross-env NODE_ENV=production node build/build.js'. 25 error Make sure you have the latest version of node.js and npm installed. 25 error If you do, this is most likely a problem with the vue-admin package, 25 error not with npm itself. 25 error Tell the author that this fails on your system: 25 error cross-env NODE_ENV=production node build/build.js 25 error You can get information on how to open an issue for this project with: 25 error npm bugs vue-admin 25 error Or if that isn't available, you can get their info via: 25 error npm owner ls vue-admin 25 error There is likely additional logging output above. 26 verbose exit [ 1, true ]

bhavesh78 avatar Sep 14 '17 09:09 bhavesh78