-
Notifications
You must be signed in to change notification settings - Fork 94
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 identifier #402
Comments
More info:
|
Only |
Yes, only that. |
I am getting the same error on a scheduled CI run:
It was running well last week so I understand this was introduced recently (#401 apparently). I am not sure if I'm missing dependencies, I tried to install the ESM package with no luck (but I don't have much experience with node). |
What Node version are you running (both of you)? |
That was a good point, I was running node 10 and just realised the logs had a deprecation warning, I completely missed that one! It is fixed now (currently on version 14). |
Thank you @gerardcanal for the idea. I was running node 10 (default for Ubuntu 20.04) and I updated it to 14 using NodeSource PPA and the problem is solved. |
Yep, postcss-cli v9 requires Node 12 or higher, otherwise, you will get this error. |
Hi, I'm new to postcss and I have a problem with a grunt.js that, using postcss+autoprefixer should prefix css but it doesn't.
Trying to find out the cause I ended to simply run:
npm i -D postcss postcss-cli
and then:
npx postcss
and it returns only:
Unexpected identifier
Please, what could I do to better debug this issue?
The text was updated successfully, but these errors were encountered: