-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
I installed the spinner in my Angular 5 app. It's been installed into node_modules folder
I imported the modeul but when I'm trying to add it to imports I'm getting an error:
Error: "Fetch error: 404 Not Found
Instantiating http://localhost:port/ng4-loading-spinner
Loading http://localhost:port/app/app.module.js
Loading client/main.js"
My app component:
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms'
import { HttpModule } from '@angular/http'
import { Ng4LoadingSpinnerModule } from 'ng4-loading-spinner';
import { AppComponent } from './app.component';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
FormsModule,
HttpModule,
ReactiveFormsModule,
Ng4LoadingSpinnerModule.forRoot() // Gives an error described above
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Metadata
Metadata
Assignees
Labels
No labels