3.9.3
https://github.com/DesarrollosAMCH/conquiseven
System:
OS: Linux 4.15 Ubuntu 18.04.1 LTS (Bionic Beaver)
CPU: (1) x64 Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz
Binaries:
Node: 8.11.4 - /usr/bin/node
Yarn: 1.9.4 - /usr/bin/yarn
npm: 5.6.0 - /usr/bin/npm
Browsers:
Chrome: Not Found
Firefox: Not Found
npmGlobalPackages:
@vue/cli: 3.9.3
npm install
npm run build
make build to deploy project on porduction server
npm run build
â ¹ Building for production...
ERROR Failed to compile with 36 errors 11:32:59
These dependencies were not found:
To install them, you can run: npm install --save core-js/modules/es6.array.find core-js/modules/es6.array.find-index core-js/modules/es6.function.name core-js/modules/es6.number.constructor core-js/modules/es6.regexp.replace core-js/modules/es6.regexp.search core-js/modules/es6.regexp.to-string core-js/modules/web.dom.iterable
ERROR Build failed with errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: vue-cli-service build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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! /home/forge/.npm/_logs/2019-08-02T11_32_59_427Z-debug.log
i tried execute the command that vue-cli recomends:
npm install --save core-js/modules/es6.array.find core-js/modules/es6.array.find-index core-js/modules/es6.function.name core-js/modules/es6.number.constructor core-js/modules/es6.regexp.replace core-js/modules/es6.regexp.search core-js/modules/es6.regexp.to-string core-js/modules/web.dom.iterable
but this was response:
npm ERR! code ENOLOCAL
npm ERR! Could not install from "core-js/modules/es6.array.find" as it does not contain a package.json file.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/forge/.npm/_logs/2019-08-02T11_37_00_531Z-debug.log
npm install --save core-js@2
Sorry for the inconvenience.
It was a mistake that the old default preset didn't include this dependency by default.
We'll try to provide a more comprehensible error output.
SOLVED!
Thank you very much!
npm install --save core-js@2
Sorry for the inconvenience.
It was a mistake that the old default preset didn't include this dependency by default.
We'll try to provide a more comprehensible error output.
thanks.
sorry, i tried npm install --save core-js@2 and the errors are still there
Same issue and installing core-js 2 to solve a problem from running version 3 is not a good solution. Core-js 2.6.11 is deprecated and therefore is not a good solution when I'am trying to use current libraries.
I got it to work by building a new app and using the version definitions of the new app build.
Most helpful comment
sorry, i tried npm install --save core-js@2 and the errors are still there