Chevrotain / chevrotain

Parser Building Toolkit for JavaScript
https://chevrotain.io
Apache License 2.0
2.48k stars 203 forks source link

fix: add skipLibCheck flag to tsconfig #1913

Closed nupthale closed 1 year ago

nupthale commented 1 year ago

Error occurs when pnpm run compile after first project clone

image

skipLibCheck fixed the issue;

Env: node - v14.16.0 pnpm - 7.26.3 system - mac os

bd82 commented 1 year ago

Hello @nupthale

I am unable to reproduce this either in the github actions build or locally on my Mac.

I also cannot find @types/react-native anywhere in my local node_modules or .pnpm folder. I suspect something is different on your local machine, But I don't see the need to modify the configurations on "master".

Anyhow you can modify this locally. and if this bothers you on the git working tree, perhaps try using to the command below to resolve that: