bug: Ionic 5 rc.1, Angular 9 rc.11 - An unhandled exception occurred: error TS5058: The specified path does not exist
See original GitHub issueBug Report
Ionic version:
[x] 5.x
Current behavior:
C:\ae\ae-a9i5-side-tabs>npm test
> ae-a9i5-side-tabs@0.5.1 test C:\ae\ae-a9i5-side-tabs
> ng test
An unhandled exception occurred: error TS5058: The specified path does not exist: 'C:/ae/tsconfig.json'.
See "C:\Users\PETERE~1\AppData\Local\Temp\ng-izBywS\angular-errors.log" for further details.
npm ERR! Test failed. See above for more details.
C:\ae\ae-a9i5-side-tabs>
I am running in the project folder but the error is referring to tcsonfig in the parent folder.
The errors log file is:
[error] Error: [91merror[0m[90m TS5058: [0mThe specified path does not exist: 'C:/ae/tsconfig.json'.
at Object.readTsconfig (C:\ae\ae-a9i5-side-tabs\node_modules\@angular-devkit\build-angular\src\angular-cli-files\utilities\read-tsconfig.js:27:15)
at generateWebpackConfig (C:\ae\ae-a9i5-side-tabs\node_modules\@angular-devkit\build-angular\src\utils\webpack-browser-config.js:29:38)
at Object.generateBrowserWebpackConfigFromContext (C:\ae\ae-a9i5-side-tabs\node_modules\@angular-devkit\build-angular\src\utils\webpack-browser-config.js:114:26)
at process._tickCallback (internal/process/next_tick.js:68:7)
at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
Expected behavior:
Test works.
Steps to reproduce:
The app works but test does not.
Also Angular error for undefined property null.
Related code:
Repo: https://github.com/adaept/ae-a9i5-side-tabs
Other information:
Ionic info:
C:\ae\ae-a9i5-side-tabs>ionic info
Ionic:
Ionic CLI : 5.2.5 (C:\Users\peterennis\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 5.0.0-rc.1
@angular-devkit/build-angular : 0.900.0-rc.11
@angular-devkit/schematics : 9.0.0-rc.11
@angular/cli : 9.0.0-rc.11
@ionic/angular-toolkit : 2.1.2
Cordova:
Cordova CLI : not installed
Cordova Platforms : not available
Cordova Plugins : not available
Utility:
cordova-res : not installed
native-run : not installed
System:
NodeJS : v10.15.1 (C:\Program Files\nodejs\node.exe)
npm : 6.4.1
OS : Windows 10
C:\ae\ae-a9i5-side-tabs>
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
bug: Ionic 5 rc.1, Angular 9 rc.11 - An unhandled exception ...
bug: Ionic 5 rc.1, Angular 9 rc.11 - An unhandled exception occurred: error TS5058: The specified path does not exist #20336.
Read more >Project "app" does not exist. getting this error after ionic serve ...
To add ionic to my Angular 7 project. As title says I am getting this error: An unhandled exception occurred: Project "app" does...
Read more >Path problem occurs after updating to angular 11 - Ionic Forum
An unhandled exception occurred: Cannot find module '@angular-devkit/ ... after updating to Ionic CLI 6.12.4, but I am still with Angular 9:
Read more >Building an Ionic Multi App Project with Shared Angular Library
Because Angular creates new projects and libraries in the projects/ folder we will follow that structure for our endeavour as well. The result ......
Read more >Leveraging Angular Prereleases to keep Ionic in Sync
Now, because Ionic Framework is a library, and not the native mobile app itself, updating Ionic Framework isn't the same as updating an...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@liamdebeasi
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.