>PROBLEM
ng serve
...
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
...
webpack: Compiled successfully.
>SOLUTION
If using angular-cli, do:
npm uninstall -g angular-cli
npm install -g @angular/cli
If desired to perform just local changes, take out the "-g" option.
Sometimes, when a project is recently created using deprecated packages, it is faster to recreate the project using the new env, up to date.
>env
node.js
angular
No comments:
Post a Comment