Angular Error: An unhandled exception occurred: Script file ../node_modules/bootstrap/dist/js/bootstrap.js does not exist.
Error:
Build Error on ng Serve
An unhandled exception occurred: Script file ../node_modules/bootstrap/dist/js/bootstrap.js does not exist.
|
Solution:
Man darf nur den einfachen relativen ./ Pfad eintragen in angular.json
Ng build errors
PS D:\Programmierung\Angular\Zeiterfassung> ng serve An unhandled exception occurred: Script file ../node_modules/bootstrap/dist/js/bootstrap.js does not exist .
PS D:\Programmierung\Angular\Zeiterfassung> ng serve An unhandled exception occurred: Script file ../node_modules/bootstrap/dist/js/bootstrap.js does not exist. See "C:\Users\Raimund\AppData\Local\Temp\ng-bmbpLA\angular-errors.log" for further details.
PS D:\Programmierung\Angular\Zeiterfassung> ng serve An unhandled exception occurred: Script file ../node_modules/jquery/dist/jquery.js does not exist. See "C:\Users\Raimund\AppData\Local\Temp\ng-ZxfmFs\angular-errors.log" for further details.
PS D:\Programmierung\Angular\Zeiterfassung> ng serve An unhandled exception occurred: ENOENT: no such file or directory, lstat 'D:\Programmierung\Angular\node_modules' See "C:\Users\Raimund\AppData\Local\Temp\ng-xluAQT\angular-errors.log" for further details.
|