I was having similar issue and after a bunch of false starts, I've traced my own issue down to using the wrong node version. Run node --version to see which one you have. If it's older than 10 (I was on 6!), it's likely you have the same issue as me and you should be able to run
nvm install 12
then nvm use 12
then check you've got the right version with node --version
before trying gatsby develop again
hmmm, I just tried creating a new project using the command you mentioned in your original post when using node 13 and I'm having the issue, but don't have it when I'm using 12 - have you tried going back to it? I'm not much of a web dev but I've been told previously to use a specific version of node, the newest one isn't always supported (and the gatsby tutorial uses 10)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I was having similar issue and after a bunch of false starts, I've traced my own issue down to using the wrong node version. Run
node --versionto see which one you have. If it's older than 10 (I was on 6!), it's likely you have the same issue as me and you should be able to runnvm install 12then
nvm use 12then check you've got the right version with
node --versionbefore trying
gatsby developagainI'm on version 13.10.1, no dice :(
hmmm, I just tried creating a new project using the command you mentioned in your original post when using node 13 and I'm having the issue, but don't have it when I'm using 12 - have you tried going back to it? I'm not much of a web dev but I've been told previously to use a specific version of node, the newest one isn't always supported (and the gatsby tutorial uses 10)