Closed mulyoved closed 5 years ago
And with npm instead of yarn? (we have some weird packages conflicts between gatsby and storybook with yarn…)
rm -rf node_modules/
npm install
npm build
also fail
@mulyoved Sorry for this, I need to investigate a little bit more to understand what happen and find a solution. You can also try to just clone this repo (without the gatsby-cli) and rm -rf .git
if it's working.
Let me know if this solution is working for you :)
git clone and then yarn or npm install + build also didn't work, same failures
Oki… for the record, which os and node version do you use?
Windows node 8.10.0
@mulyoved Had the same issues. For starters remove implicitly from tsconfig.json
. Code from starter should work. Problems start when you try to add other dependencies and typescript, webpack and few other packages start to rage with an incompatible version. Over here you can find some trails and errors trying to find the issue https://github.com/fabien0102/gatsby-starter/pull/55
Same issue here FWIW
@mulyoved FWIW I updated node to v9.10.1 then a build from a fresh install worked as expected.
I just experienced a similar error on a fresh build, with both Yarn and npm.
I updated to use Node to 9.10.1 as suggested by @i001962 above and it now works. Thanks for the workaround! Let me know if I can help provide any other details.
Should be fixed, please tell if it's still broken ;) (I'm just cleaning a bit our issues ^^)
Faild with TS errors,
Set
noImplicitAny = false
also does not help as fail due to other errors