Error tsconfig cannot read file, after building release


After building the release apk. I wanted to debug again, so i did the command ionic serve and as you can see below it cannot find the tsconfig.json

PS C:\%USERPATH%\Project\platforms\android\build\outputs\apk> ionic serve
[INFO] Starting app-scripts server: --port 8100 --p 8100 --livereload-port 35729 --r 35729 --address - Ctrl+C to
[09:36:24]  watch started ...
[09:36:24]  build dev started ...
Error: tsconfig: Cannot read file 'C:\%USERPATH%\Project\platforms\android\build\outputs\apk\tsconfig.json': ENOENT: no such file or directory, open 'C:\%USERPATH%\Project\platforms\android\build\outp


Hi @Miquel_Brightness, would you be so kind to post the contents of your package.json over here?


I already solved problem i wasn’t in root of my project folder.

Thanks anyways ^.^


Thanks it helped, it exactly same for me


This error should occur if you are in src or some other directory inside project folder.