Skip to content
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

eslint incompatible with node #13

Open
fabriciomurta opened this issue Mar 26, 2019 · 2 comments
Open

eslint incompatible with node #13

fabriciomurta opened this issue Mar 26, 2019 · 2 comments

Comments

@fabriciomurta
Copy link

Currently running the command in a clean repo results in this:

Command: docker run -it --rm -v $(pwd)/site:/site -p 8000:8000 aripalo/gatsby-docker develop

Result:
image

The first thought before any in-depth investigation is that it pulls latest version of eslint, yet sticks to a given version of node; eventually node version became outdated in regard to the eslint one and this triggered. Could be as simple as updating the dockerfile to point to more up-to-date packages.

@DaniCastel
Copy link

Upgrade node with npm

sudo npm cache clean -f
sudo npm install -g n

@fabriciomurta
Copy link
Author

fabriciomurta commented May 17, 2019

Probably the upgrade shouldn't be done like that, but pointing the dockerfile to the right/supported node image version -- if it is the case that the docker image is referencing older nodejs version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants