Closed kmosti closed 5 years ago
I'm not able to reproduce this on a fresh call to npx create-react-blog test --typescript
, and then running yarn start
in the console.
How are calling the build script? Also, can you confirm that your project is using TypeScript 3.2.2?
I have not actually touched anything, so yes Typescript is 3.2.2.
I also tried creating a new blog called test, and verified that yarn install runs with no issues.
I can ignore the compilation error (and the page renders fine) by just prepending
// @ts-ignore
However, not a great solution.
Weiiird. Any chance you could zip up the generated folder (including node_modules
) and put it somewhere for me to take a look?
Thanks! I've tried diffing your node_modules against a newly installed node_modules, but it's basically the same. Given that your zip's source builds just fine, I assume the issue is something to do with your local TypeScript configuration or environment variables.
I'm going to close this for the moment, but feel free to re-open if you can reproduce on another machine.
The build fails to compile:
OS: macOS 10.14.2 Node/npm: v10.14.0 / 6.4.1