Skip to content

Unexpected character '@' (10:0) You may need an appropriate loader to handle this file type #39

@San13

Description

@San13

When I run webpack run , I am encountering the following issues. Please help.

ERROR in ./~/ng2-gantt/gantt.module.ts
Module parse failed: C:\Users\kaung.san\Documents\Visual Studio 2017\Projects\CMSv1\CMSv1\node_modules\ng2-gantt\gantt.module.ts Unexpected character '@' (10:0)
You may need an appropriate loader to handle this file type.
| import { GanttService } from './shared/services/gantt.service';
| import { GanttActivityModule } from './activity/gantt-activity.module';
| @NgModule({
|     imports: [
|         CommonModule,
 @ ./~/ng2-gantt/index.ts 1:0-31
 @ ./ClientApp/app/app.shared.module.ts
 @ ./ClientApp/app/app.browser.module.ts
 @ ./ClientApp/boot.browser.ts
 @ multi event-source-polyfill webpack-hot-middleware/client?path=__webpack_hmr&dynamicPublicPath=true ./ClientApp/boot.browser.ts
ERROR in ./~/ng2-gantt/shared/interfaces.ts
Module parse failed: C:\Users\kaung.san\Documents\Visual Studio 2017\Projects\CMSv1\CMSv1\node_modules\ng2-gantt\shared\interfaces.ts Unexpected token (1:7)
You may need an appropriate loader to handle this file type.
| export interface Project {
|     id: string;
|     name: string;
 @ ./~/ng2-gantt/index.ts 2:0-36
 @ ./ClientApp/app/app.shared.module.ts
 @ ./ClientApp/app/app.browser.module.ts
 @ ./ClientApp/boot.browser.ts
 @ multi event-source-polyfill webpack-hot-middleware/client?path=__webpack_hmr&dynamicPublicPath=
```true ./ClientApp/boot.browser.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions