We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I am getting the following error while building a Vue.js application. How to fix it?
ERROR in build.js from UglifyJs Unexpected token: punc ()) [./node_modules/vue-toast-notification/dist/index.min.js:1,225][build.js:23778,189] npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! drmon-frontend@1.0.0 build: cross-env NODE_ENV=production webpack --progress --hide-modules npm ERR! Exit status 2
Thanks.
The text was updated successfully, but these errors were encountered:
Hey,
What is your laravel-mix version? Looks like you are using quite old version which is using UglifyJs rather than TerserJS
UglifyJs
UglifyJs does not support parsing ES6 syntax. Upgrade you laravel-mix to v5 or above which is using TerserJS
Sorry, something went wrong.
No branches or pull requests
Hello,
I am getting the following error while building a Vue.js application. How to fix it?
ERROR in build.js from UglifyJs Unexpected token: punc ()) [./node_modules/vue-toast-notification/dist/index.min.js:1,225][build.js:23778,189] npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! drmon-frontend@1.0.0 build: cross-env NODE_ENV=production webpack --progress --hide-modules npm ERR! Exit status 2
Thanks.
The text was updated successfully, but these errors were encountered: