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
Node 12 installed but getting Autoprefixer doesn’t support Node v8.10.0. Update it. #189
Comments
Ah, I found some more information. The above was with 10.0.0.2, but regressing to 9.8.6.5 'fixes' the issue. |
And I should add that Codeship run Ubuntu AFAIK. The node version detection was working correctly on my Mac. |
I ran into the same issue. Pushed an update to Codeship and it failed with the same error message. The only changes were a bundle update, that updated Autoprefixer to 10.x Yes, downgrading / rolling-back to 9.8.6.5 temporarily "fixes" the issue. |
Maybe related to the changes in #182? |
v9 to v10 is a major version change, which drops support for EOL-ed node versions, including 8.x There’s definitely 8.10.0 installed somewhere in the image, probably system package. Please try The laziest solution might be switching to I’ll see if I can provide more help on upgrading nodejs in this particular environment. Thanks |
FYI - I set up Travis CI and it returned the same error msg - Autoprefixer doesn’t support Node v8.10.0. Let me know if you would like more details on the setup. |
For Codeship, this is due to the current released version of execjs prefers Adding this line in your setup commands should fix this. ln -s $(which node) ~/bin/nodejs |
For Travis CI, something like this should work: language: ruby
rvm:
- 2.6.6
before_install:
- gem install bundler -v 2.1.4
- nvm install node
- bundle
script:
- bin/rails assets:precompile I'm closing this as this is more related to the execjs gem and individual environments. |
@albb0920 Thanks! |
Firstly, thanks for continuing to maintain this gem! Sorry to be here with a issue :(
I just started receiving this message recently on our Codeship builds, which is very odd, because we didn't change anything that I know of.
Not sure where it's finding 8.10.0 from - any ideas how I can hunt this down? We aren't using Ruby Racer.
The text was updated successfully, but these errors were encountered: