ERROR in [copy-webpack-plugin] unable to locate './app/client/images' at '/Users/mac/Learn/koa-vue-example-master/app/client/i
mages'
/Users/mac/Learn/koa-vue-example-master/node_modules/.1.0.1@koa-sqlite3-session/index.js:56
if (err) throw err;
^
Error: SQLITE_CANTOPEN: unable to open database file
at Error (native)
npm-debug.log如下
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'start' ]
2 info using npm@3.9.5
3 info using node@v6.2.2
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle Test@~prestart: Test@
6 silly lifecycle Test@~prestart: no script for prestart, continuing
7 info lifecycle Test@~start: Test@
8 verbose lifecycle Test@~start: unsafe-perm in lifecycle true
9 verbose lifecycle Test@~start: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/mac/Learn/koa-vue-example-master/node_modules/.bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
10 verbose lifecycle Test@~start: CWD: /Users/mac/Learn/koa-vue-example-master
11 silly lifecycle Test@~start: Args: [ '-c', 'npm run build && node --harmony app.js' ]
12 silly lifecycle Test@~start: Returned: code: 1 signal: null
13 info lifecycle Test@~start: Failed to exec start script
14 verbose stack Error: Test@ start: npm run build && node --harmony app.js
14 verbose stack Exit status 1
14 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:245:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:191:7)
14 verbose stack at maybeClose (internal/child_process.js:852:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
15 verbose pkgid Test@
16 verbose cwd /Users/mac/Learn/koa-vue-example-master
17 error Darwin 15.0.0
18 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "start"
19 error node v6.2.2
20 error npm v3.9.5
21 error code ELIFECYCLE
22 error Test@ start: npm run build && node --harmony app.js
22 error Exit status 1
23 error Failed at the Test@ start script 'npm run build && node --harmony app.js'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the Test package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error npm run build && node --harmony app.js
23 error You can get information on how to open an issue for this project with:
23 error npm bugs Test
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls Test
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
运行环境是mac系统 错误提示如下。
ERROR in [copy-webpack-plugin] unable to locate './app/client/images' at '/Users/mac/Learn/koa-vue-example-master/app/client/i
mages'
/Users/mac/Learn/koa-vue-example-master/node_modules/.1.0.1@koa-sqlite3-session/index.js:56
if (err) throw err;
^
Error: SQLITE_CANTOPEN: unable to open database file
at Error (native)
npm-debug.log如下 0 info it worked if it ends with ok 1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'start' ] 2 info using npm@3.9.5 3 info using node@v6.2.2 4 verbose run-script [ 'prestart', 'start', 'poststart' ] 5 info lifecycle Test@~prestart: Test@ 6 silly lifecycle Test@~prestart: no script for prestart, continuing 7 info lifecycle Test@~start: Test@ 8 verbose lifecycle Test@~start: unsafe-perm in lifecycle true 9 verbose lifecycle Test@~start: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/mac/Learn/koa-vue-example-master/node_modules/.bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin 10 verbose lifecycle Test@~start: CWD: /Users/mac/Learn/koa-vue-example-master 11 silly lifecycle Test@~start: Args: [ '-c', 'npm run build && node --harmony app.js' ] 12 silly lifecycle Test@~start: Returned: code: 1 signal: null 13 info lifecycle Test@~start: Failed to exec start script 14 verbose stack Error: Test@ start: (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:245:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:191:7)
14 verbose stack at maybeClose (internal/child_process.js:852:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
15 verbose pkgid Test@
16 verbose cwd /Users/mac/Learn/koa-vue-example-master
17 error Darwin 15.0.0
18 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "start"
19 error node v6.2.2
20 error npm v3.9.5
21 error code ELIFECYCLE
22 error Test@ start:
npm run build && node --harmony app.js
14 verbose stack Exit status 1 14 verbose stack at EventEmitter.npm run build && node --harmony app.js
22 error Exit status 1 23 error Failed at the Test@ start script 'npm run build && node --harmony app.js'. 23 error Make sure you have the latest version of node.js and npm installed. 23 error If you do, this is most likely a problem with the Test package, 23 error not with npm itself. 23 error Tell the author that this fails on your system: 23 error npm run build && node --harmony app.js 23 error You can get information on how to open an issue for this project with: 23 error npm bugs Test 23 error Or if that isn't available, you can get their info via: 23 error npm owner ls Test 23 error There is likely additional logging output above. 24 verbose exit [ 1, true ]