Answer the question
In order to leave comments, you need to log in
Why do Typescript Errors occur in ionic?
when building an empty project on ionic, a lot of errors like "expected ;", all errors in the node_modules/@types folder. If you rename the @types folder, then everything works.
node v10.17.0
typescript -version 3.2.4
ionic -v5.4.4
cordova -v9.0.0 ([email protected])
Answer the question
In order to leave comments, you need to log in
In the tsconfig.json project file, I added "types": [] to compilerOptions and it all worked
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question