Following the instructions in the README installs the s3-deploy plugin where it is usable, but vue-cli-service build gives the following error:
Error: Cannot find module 'vue-cli-plugin-s3-deploy'
Require stack:
- C:\Program Files\nodejs\node_modules\@vue\cli-service\lib\Service.js
- C:\Program Files\nodejs\node_modules\@vue\cli-service\bin\vue-cli-service.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at idToPlugin (C:\Program Files\nodejs\node_modules\@vue\cli-service\lib\Service.js:145:14)
at C:\Program Files\nodejs\node_modules\@vue\cli-service\lib\Service.js:184:20
at Array.map (<anonymous>)
at Service.resolvePlugins (C:\Program Files\nodejs\node_modules\@vue\cli-service\lib\Service.js:170:10)
at new Service (C:\Program Files\nodejs\node_modules\@vue\cli-service\lib\Service.js:32:25)
at Object.<anonymous> (C:\Program Files\nodejs\node_modules\@vue\cli-service\bin\vue-cli-service.js:15:17) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\\Program Files\\nodejs\\node_modules\\@vue\\cli-service\\lib\\Service.js',
'C:\\Program Files\\nodejs\\node_modules\\@vue\\cli-service\\bin\\vue-cli-service.js'
]
}
The build will work if I remove the plugin from node_modules. Likewise, adding it back in will run it successfully. I have not been able to find any clear answers on how to resolve this issue, so I am asking here.
Following the instructions in the README installs the s3-deploy plugin where it is usable, but vue-cli-service build gives the following error:
The build will work if I remove the plugin from node_modules. Likewise, adding it back in will run it successfully. I have not been able to find any clear answers on how to resolve this issue, so I am asking here.