ERROR in scripts.<HASH>.js from Terser undefined
Bug Report or Feature Request (mark with an x)
- [x] bug report
- [ ] feature request
Command (mark with an x)
- [ ] new
- [x ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
Versions
Angular CLI: 7.0.2 Node: 9.11.1 OS: win32 x64 Angular: 7.0.0 ... animations, cdk, common, compiler, compiler-cli, core, forms ... http, language-service, material, platform-browser ... platform-browser-dynamic, router
When trying to build with the --prod flag (both with and withou the --aot flag) I get this error message. I have no idea how to start debugging it right now, is there any way I can enable some verbose logging or similar from the Terser plugin?
ERROR in scripts.de48115709e64c921500.js from Terser
undefined
I would start looking at which dependency is causing the issue, AFAIK Terser doesn't provide a way to enable more verbose logging.
By any chance are you using tether npm package?
Yes I had tether 1.4.5 installed and after removing it it worked. Found this https://github.com/HubSpot/tether/issues/291 but not sure if it's exactly this error I stumbled into.
Thanks for the help.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.