0👍
This could be caused by not running npm install
before the npm run build
in jenkins.
npm install -g @vue/cli
# OR
yarn global add @vue/cli
Also building with CI/CD tools like Jenkins sometimes requires npm install
to be replaced with npm ci
to make sure doing a clean install of your dependencies. More here npm ci
npm ci
npm run build
...
- [Vuejs]-Vue.js Typescript error when assigning a debounced function
- [Vuejs]-VueJS Error: Cannot find module 'C:\@vue\cli-service\bin\vue-cli-service.js'
0👍
I get this error too , but only when run build in server environment.
after search about this problem, i found that it because memory limitation ,but unfortunately i couldn’t find the right solution .
Maybe this lead will able to help you
- [Vuejs]-Ionic-vuejs: how to remove this extra space above ion-label when using ion-item fill="outline" and ion-label position="floating"?
- [Vuejs]-Vue create project
Source:stackexchange.com