-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
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
Terser TypeError: Cannot read property 'minify' of undefined #3407
Comments
I just reported the same problem (#3408) duplicate |
I noticed that 3.4 was just released. I upgrade to 3.4 and tested and got the same error. TypeError: Cannot read property 'minify' of undefined``` |
A bug in terser 3.16 which was released hours ago.
|
we just downgraded to webpack 4.2 to avoid the use of terser which also worked. |
terser/terser#254 should address this. |
現在以下のissueが上がっている vuejs/vue-cli#3407 コメント内にあるように、`terser: 3.14.1`をインストールして対策
Installing [email protected] didn't resolve the issue for me. I had to downgrade Webpack as mentioned by @carltierney to 4.2.0. |
On new test, the 3.6.1 version work with |
Pin version number of a dependency. See vuejs/vue-cli#3407 When that issue is resolved, revert this.
Both If there's any further problems please open a new issue with a corresponding reproduction. |
Frontend wasn't builded properly due to the bug introduced in here vuejs/vue-cli#3407 (comment).
downgraded to terser 3.14 to eliminate build error due to bug see: vuejs/vue-cli#3407
…tions/node_modules. Package bug: vuejs/vue-cli#3407
running npm install [email protected] worked for me too |
The aforementioned workarounds does not seem to work in my case :(
|
Saving `npm i [email protected]` fixed an error that prevented the docker build from completing. For details, see: vuejs/vue-cli#3407 (comment)
Version
3.4.0
Reproduction link
https://github.com/Skyline124/flaskregul2.git
Environment info
Steps to reproduce
Installation of latest NodeJS version
vue-cli installation
sudo npm install -g @vue/cli
creation of the example by default application
What is expected?
Build is expected to finish successfully.
What is actually happening?
Build produces the following errors :
I do not succeed to build the default app from your website into production. It seems that Terser is not processing the files properly but I am not able to identify the precise issue...
Any help would be appreciated!
The text was updated successfully, but these errors were encountered: