|
覆盖完还是少东西F:\kuai>npm run build
> Tutorial@1.0.0 build F:\kuai
> hap build
internal/modules/cjs/loader.js:596
throw err;
^
Error: Cannot find module 'cross-spawn'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
at Function.Module._load (internal/modules/cjs/loader.js:520:25)
at Module.require (internal/modules/cjs/loader.js:650:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (F:\kuai\node_modules\cross-env\dist\index.js:9:19)
at Module._compile (internal/modules/cjs/loader.js:702:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
at Module.load (internal/modules/cjs/loader.js:612:32)
at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
at Function.Module._load (internal/modules/cjs/loader.js:543:3)
Command failed: F:\kuai\node_modules\.bin\cross-env NODE_PLATFORM=na NODE_PHASE=dv F:\kuai\node_modules\.bin\webpack --config F:\kuai\node_modules\hap-toolkit\tools\webpack.config.js |
|