Error tsconfig cannot read file, after building release


#1

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 0.0.0.0 - Ctrl+C to
       cancel
[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
uts\apk\tsconfig.json'

#2

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


#3

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

Thanks anyways ^.^


#4

Thanks it helped, it exactly same for me


#5

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