angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

fallbackLoader option has been deprecated - replace with "fallback" loader option has been deprecated - replace with "use"

Open beeman opened this issue 9 years ago • 27 comments

Please provide us with the following information:

OS?

Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)

  • macOS Sierra
  • Ubuntu 16.04.1 LTS (clean machine)

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:

@angular/cli: 1.0.0-beta.30
node: 7.5.0
os: darwin x64
@angular/common: 2.4.6
@angular/compiler: 2.4.6
@angular/core: 2.4.6
@angular/forms: 2.4.6
@angular/http: 2.4.6
@angular/platform-browser: 2.4.6
@angular/platform-browser-dynamic: 2.4.6
@angular/router: 3.4.6
@angular/cli: 1.0.0-beta.30
@angular/compiler-cli: 2.4.6

Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc.

$ ng new fallbackloader
$ cd fallbackloader
$ ng serve

The log given by the failure.

Normally this include a stack trace and some more information.

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"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
** NG Live Development Server is running on http://localhost:4200. **

Mention any other details that might be useful.

The project seems to work correctly.


Thanks! We'll be in touch soon.

beeman avatar Feb 04 '17 21:02 beeman

Reinstall everything (node, npm, Angular, Angular-cli, Typescript, etc...) and ..... fallbackLoader option has been deprecated - replace with "fallback"

ng -v @angular/cli: 1.0.0 node: 6.9.4 os: win32 x64 npm -v 4.5.0 rmdir node_modules npm install npm start

aucevica avatar Apr 12 '17 17:04 aucevica

Same problem

daryn-k avatar Jun 24 '17 10:06 daryn-k

same problem. Additional ng new PROJECT_NAME create project into my Users directory and not in the folder where i run ng new.

moohkooh avatar Jun 25 '17 07:06 moohkooh

angular-cli: 1.0.0-beta.28.3 node: 8.6.0 os: win32 x64

Same problem 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" fallbackLoader option has been deprecated - replace with "fallback" loader option has been deprecated - replace with "use"

hithto avatar Oct 25 '17 09:10 hithto

Do this as suggested by omachala:

npm uninstall -g angular-cli @angular/cli npm cache clean npm install -g @angular/cli@latest

MeMeMax avatar Oct 25 '17 09:10 MeMeMax

In my case, I need npm cache verify instead of npm cache clean

npm uninstall -g angular-cli @angular/cli
npm cache verify
npm install -g @angular/cli@latest

micksatana avatar Nov 03 '17 09:11 micksatana

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.