-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
import { QRCodeModule } from 'angular2-qrcode';
@NgModule({
imports: [
FormsModule,
BrowserModule,
HttpModule,
AppRoutingModule,
ReactiveFormsModule,
QRCodeModule,
AgmCoreModule.forRoot({
apiKey: '...',
libraries: ["places"]
})
],
...
i add QRCode to my app but when running i get error :
Error: Unexpected token <
Evaluating http://localhost:2634/qrious
Evaluating http://localhost:2634/app/app.module.js
Evaluating http://localhost:2634/app/main.js
Loading ../app
at eval (<anonymous>)
at evaluate (system.src.js:2821)
at system.src.js:3620
at dynamicExecute (system.src.js:1144)
at doEvaluate (system.src.js:1091)
at ensureEvaluate (system.src.js:999)
at system.src.js:1017
at doEvaluate (system.src.js:1089)
at ensureEvaluate (system.src.js:999)
at system.src.js:1017
my angular version is: @angular/core": "~4.2.3"
and no directives attribute in @component of this angular version
Metadata
Metadata
Assignees
Labels
No labels