-
-
Notifications
You must be signed in to change notification settings - Fork 257
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
Unexpected token ) as of version 4.0.5 #152
Comments
What node version are you using? |
v0.10.48 |
That is an incredibly old node version. You need to be able to use If you're using such an ancient node version and unable to upgrade it, you'll have to lock all your dependencies and only upgrade them very carefully. |
Hi, @isaacs using IMO, you must revert these commits on the 4.0.x branch (and release a new 4.0.6, iso 4.0.4) and move all your 4.0.5 changes to a 5.x.x branch (maybe a 4.1.x, I don't know). Or else, please tell us how to lock nested dependencies, without manual action during npm install, with the old npm that came with our old nodejs (npm version 1.4.12 in my case). |
You can do what I did: run an BTW, I wanted to open an issue too on Monday when this happened, but luckly I found this fix. IMO @isaacs, you can't just update 2017 code "up to today standards" without thinking "oh wait, there are older application that uses this". I mean, I don't even know what this minimatch does, it's just a dependecy of a dependency of a dependency that I have in the package.json. And I wish I could just update my node version, but this application I'm working on it's pretty "closed": It's an older custom maven archetype, made back in 2017 by a bank here in Italy. Now they have made a new archetype, with Angular8, which all the new applications are being made with, but I doubt they want to spend the time and money to port this application (which took 3 years to be ported from and even older desktop application) to this new framework. Always think of legacy support. In a perfect world I could update an Angular2 application to the latest version, but unfortunately it isn't like that. For me, you can leave it like this, I fixed the problem on my end, but next time, please be careful on what you update, especially if it's really old stuff. You can never know what you're going to break. |
@Tirpitz the workaround does not work. |
Since the last update (v4.0.5) I receive the following error:
The text was updated successfully, but these errors were encountered: