-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
TypeError: Cannot read property '_walk' of null #928
Comments
Your version is too old. If you upgrade to today's release v1.0.0-beta.1, make sure you follow the migration guide https://aurelia.io/blog/2018/10/08/release-aurelia-cli-with-auto-tracing-bundler |
@huochunpeng, faced same issue while building with prod-minify config @v1.0.0-beta.1
My config in aurelia.json
|
@vermilion are you using |
This is my new auto-tracing log. I don't use it explicitly, maybe some of deps are using it... How could I find such?
|
Looks like this is related terser/terser#120 |
@vermillion nvm, async-done is deep dep of cli itself, not your frontend. |
@vermillion can you share your full error log? Must be some package triggered that terser bug. |
Here it is - prod log
|
@vermilion can you try this temporary fix suggested in that terser issue?
|
Seems like an issue affected the whole uglify family :-) |
@huochunpeng, your workaround works fine! Now waiting for an official bugfix :) |
@ariovistus I guess you only need the compress config patch.
|
It is "moment" |
It seems like a nasty bug that uglify/terser guys have yet to fix. This is a combination of compress options, turn off any one of them could bypass the issue. I think we can ship cli with a default compress options patch. I will do a PR. |
I'm submitting a bug report
0.32.0
Please tell us about your environment:
Operating System:
Linux (fedora)
Node Version:
8.12.0
NPM Version:
6.4.1
Browser:
all
Language:
all
Loader/bundler:
RequireJS
Current behavior:
I managed to build something that uglifyjs pukes on:
https://travis-ci.org/frc3223/stats/builds/438988302
turning off minification is a workaround, but I'd kind of like to not have to do that
code is here: https://github.com/frc3223/stats/tree/uglibug
What is the expected behavior?
app can be built with minification enabled
What is the motivation / use case for changing the behavior?
The text was updated successfully, but these errors were encountered: