错误log: events.js:180
throw er; // Unhandled 'error' event
^
Error: spawn wepy ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
at onErrorNT (internal/child_process.js:456:16)
at processTicksAndRejections (internal/process/task_queues.js:77:11)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)
at onErrorNT (internal/child_process.js:456:16)
at processTicksAndRejections (internal/process/task_queues.js:77:11) {
errno: 'ENOENT',
code: 'ENOENT',
syscall: 'spawn wepy',
path: 'wepy',
spawnargs: [ 'build', '--watch' ]
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mp-empower@0.0.2 dev: `cross-env NODE_ENV=dev wepy build --watch`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mp-empower@0.0.2 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/qx/.npm/_logs/2021-04-25T04_10_54_194Z-debug.log
版本:1.05.2103200
node版本:v12.8.1
npm版本:6.10.2
这个问题后来有解决吗?