-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
grunt v1.6.0 throwing error "SyntaxError: Unexpected token '.'" through npm rimraf package. #1752
Comments
I have checked with this configuration
and issue is still reproducing |
Apparently as of grunt@1.6.x Node 16 or higher is required. Been debugging this for a while myself.. Maybe a major bump would have been better? Just pin grunt at |
@artbindu could you try your project with node.js 14 or 16? 12 is really outdated. |
The issue is still reproducing with node v14. But in node v16 I did not see the issue with the latest grunt version(v1.6.x). Thanks @RobinBol, thanks @vladikoff for your suggestion. You may close the ticket. |
Fixed in 1.6.1 . thanks for the report! |
Yes, it's resolved in grunt 1.6.1. Thank you @vladikoff |
grunt v1.6.0 throwing error "SyntaxError: Unexpected token '.'" through npm rimraf package.
Some braking changes happening in latest
grunt
changes.I am using node & npm version as:
I am getting errors like:
When I see the
npm rimraf
they did some changes few days ago.But at the end of the day, I see the issue is happening from grant version.
I see issue is not happening until grunt v1.5.3.
Issue is reproducing in latest version: grunt v1.6.0
I think the issue may be happening from es5 or es6 syntax related.
The text was updated successfully, but these errors were encountered: