vue打包报错
C:\Users\Carter\Desktop\vue3\vue_project>npm run build
> ningjiatest@1.0.0 build C:\Users\Carter\Desktop\vue3\vue_project
> node build/build.js
module.js:538
throw err;
^
Error: Cannot find module 'ora'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (C:\Users\Carter\Desktop\vue3\vue_project\build\build.js:6:13)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ningjiatest@1.0.0 build: `node build/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ningjiatest@1.0.0 build 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! C:\Users\Carter\AppData\Roaming\npm-cache\_logs\2017-12-01T02_31_32_413Z-debug.log