I ran into an issue while using angular cli, specifically this error message:
ERROR in multi script-loader!./src/assets/vendors/by_bower/jquery/dist/jquery.js
To troubleshoot, I followed these steps:
- npm install -g @angular/cli;
- npm install
- ng serve
The package.json file includes "@angular/cli": "latest", which leads to the error mentioned above during ng serve.
After some research, I found out that this could be due to a version compatibility issue with Angular cli. If anyone has a solution, please share it.
Edit:
When running ng serve verbose, the error details are as follows:
Child html-webpack-plugin for "index.html":
Asset Size Chunks Chunk Names
index.html 3.7 kB 0
chunk {0} index.html 1.04 kB [entry] [rendered]
webpack: Failed to compile.
** My ultimate goal is to implement a purchased theme.