h5PlusApp编译报错:
internal/modules/cjs/loader.js:883
15:18:42.357 throw err;
15:18:42.365 ^
15:18:42.366 Error: Cannot find module '@dcloudio/uni-cli-i18n'
15:18:42.371 Require stack:
15:18:42.371 - D:\ws\code\package\sss(Separate)\apk\node_modules\@dcloudio\vue-cli-plugin-hbuilderx\index.js
15:18:42.378 - D:\ws\code\package\sss(Separate)\apk\node_modules\@vue\cli-service\lib\Service.js
15:18:42.379 - D:\ws\code\package\sss(Separate)\apk\node_modules\@vue\cli-service\bin\vue-cli-service.js
15:18:42.383 at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
15:18:42.387 at Function.Module._load (internal/modules/cjs/loader.js:725:27)
15:18:42.387 at Module.require (internal/modules/cjs/loader.js:952:19)
15:18:42.390 at require (internal/modules/cjs/helpers.js:88:18)
15:18:42.391 at Object.<anonymous> (D:\ws\code\package\sss(Separate)\apk\node_modules\@dcloudio\vue-cli-plugin-hbuilderx\index.js:3:17)
15:18:42.397 at Module._compile (internal/modules/cjs/loader.js:1063:30)
15:18:42.400 at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
15:18:42.403 at Module.load (internal/modules/cjs/loader.js:928:32)
15:18:42.403 at Function.Module._load (internal/modules/cjs/loader.js:769:14)
15:18:42.406 at Module.require (internal/modules/cjs/loader.js:952:19) {
15:18:42.406 code: 'MODULE_NOT_FOUND',
15:18:42.412 requireStack: [
15:18:42.415 'D:\\ws\\code\\package\\sss(Separate)\\apk\\node_modules\\@dcloudio\\vue-cli-plugin-hbuilderx\\index.js',
15:18:42.417 'D:\\ws\\code\\package\\sss(Separate)\\apk\\node_modules\\@vue\\cli-service\\lib\\Service.js',
15:18:42.419 'D:\\ws\\code\\package\\sss(Separate)\\apk\\node_modules\\@vue\\cli-service\\bin\\vue-cli-service.js'
15:18:42.420 ]
15:18:42.422 }
npm add -D @dcloudio/uni-cli-i18n @dcloudio/uni-i18n
评论 (0)