-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
v3.9.0 triggers error "TypeError: aStr.charAt is not a function" #3780
Comments
From the stacktrace, it looks like It would be a lot more helpful if I can have source input in order to reproduce this issue locally. (Not sure why you reported |
Not certain if this is the root cause, but looks like you have an old version of $ npm uninstall -g uglify-js
$ npm uninstall -g source-map |
... and I have a theory as to what could have happened − let me spin up a PR and check. |
I have the exact same issue, no global packages installed |
Reverting to |
If any of you can try out #3781 to confirm the fix, I would be grateful. |
Easiest way I can think of is download this file then replace the one in |
I did
And it is working for me when running a build 👍 |
Thanks for the verification - will publish |
Apologies for the abysmal bug report, and thank you for the fix. I've verified v3.9.1 works well for us. |
Thanks for validating the fix. No need to apologise − not everyone knows every detail about the software stack they are using. |
Bug report or feature request?
Bug Report
Uglify version (
uglifyjs -V
)uglify-js 2.8.29
We're getting the following error from [email protected] since yesterday, that we don't get when using [email protected]:
npm install gulp-uglify is picking up [email protected] and other times [email protected] and it might be relevant that the dependencies changed between versions:
The text was updated successfully, but these errors were encountered: