Open efleurine opened 6 years ago
I install "babel-loader": "7.1.1" as a devDependency and the error vanished
u mean Version 6.4.1
Sorry for that, I really to take some time to update this starter… I have also some pull requests that I can't merge for obscur reasons… Can you also precise your nodejs/npm version? and the real version of babel-loader (go to node_modules/babel-loader/package.json) ?
@fabien0102 as i execute this command "gatsby new my-website https://github.com/fabien0102/gatsby-starter" the yarn will install dependency and in yarn.lock babel-loader is 7.1.4 . To solve this issue i remove node_module and yarn.lock and run npm install inside root folder then babel-loader 6.4.1 is comes inside node_modules as in root package.json contained.
Simplest fix is this:
yarn add --dev babel-loader@7.1.1
Unfortunately, the above doesn't work in my case. using node 10.2.1, yarn 1.7.0 and npm 6.1.0. I am still getting fileSystem.statSync is not a function
on a fresh install.
Version 6 of babel loader fixed this issue for me.
I just create a new project using the starter kit and I am getting this error
it seems related to https://github.com/babel/babel-loader/issues/505