LoginSignup
2
0

More than 5 years have passed since last update.

vue-cli3でbuildした時にTypeError: Cannot read property 'minify' of undefined

Last updated at Posted at 2019-02-03

概要

vue-cli3で生成したばかりのプロジェクトでbuildが出来なかったので調べた所、直近出現したバグだったので日本語でも残しておこうと思います。

解決策

terser@3.4.0 のバグなので

package.json
"resolutions": {
  "terser": "3.14.1"
}

と記述して

npm install

または

npm i -D terser@3.14.1

とかでバージョンを下げれば大丈夫:thumbsup:

参考

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0