-
Notifications
You must be signed in to change notification settings - Fork 11
'Cannot parse tsconfig.extend.json' error #23
Comments
tsconfig.extend.json is not valid, please check the syntax |
@VyacheslavR could you please give me a hint - what's wrong with |
@fedorinoGore, you put commas at the end, if it was js, it would be ok, but in json it is not valid. Here is a valid example:
|
Go to this file path craco-alias/plugin/pre-check/check-config-contents.js and then in the first try and catch add the err property to the string output just do what is says and then it will be correct, or you can put the file as json initially or put it through a JSON parser to check it for errors and then put it in the extend.json |
beyond the ending commas, just be aware of removing all comments in the |
I updated the message to make it easier to find the syntax error. |
@katsimoto Thanks! |
Im following the readme instructions but constantly having error "Cannot parse tsconfig.extend.json"
Option "debug: true" doesn't work, at least I don't see any additional info in the console
Here are my config files:
craco.config.js
tsconfig.json
tsconfig.extend.json
Having this deps in package.json:
The text was updated successfully, but these errors were encountered: