Suddenly, everything broken.
…/node_modules/angular2/core.d.ts:6
export * from ‘./src/core/metadata’;
^
ParseError: ‘import’ and ‘export’ may appear only with ‘sourceType: module’
I don’t know way?
Suddenly, everything broken.
…/node_modules/angular2/core.d.ts:6
export * from ‘./src/core/metadata’;
^
ParseError: ‘import’ and ‘export’ may appear only with ‘sourceType: module’
I don’t know way?
import {Injectable, NgZone} from ‘…/…/node_modules/angular2/core.d’;
import {Http, Headers, Request, RequestOptions, RequestOptionsArgs, RequestMethod, Response} from ‘…/…/node_modules/angular2/http.d’;
import { Observable } from “…/…/node_modules/rxjs/Observable.d”;
I don’t know why Webstrom change the from path.
After I change the path, every thing is ok.
I hade the same problem using Intellij when moving a file from a folder to another, imports where updated, i hade to modify all paths like: ../../node_modules/angular2/core.d.ts
to angular2/core
hope it helps someone else.