问题
I am trying to use angular cli and getting following error:
ERROR in multi script-loader!./src/assets/vendors/by_bower/jquery/dist/jquery.js
Actually what I did is :
- npm install -g @angular/cli;
- npm install
- ng serve
In package.json I have "@angular/cli": "latest",
on ng serve I am getting this error.
After google I came to know that this can be issue of version of Angular cli. Please help how to get rid of this.
Edit:
On ng serve verbose I am getting:
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.
** Actually I am trying to run a purchased theme.
回答1:
In my case I was in need of a "bower install" command.
Hope if it helps some one.
Thanks.
来源:https://stackoverflow.com/questions/43738965/getting-errors-on-ng-serve