Closed
Description
OS?
macOS 10.12.3
Versions.
- @angular/cli: 1.0.0-beta.31
- node: 7.5.0
- os: darwin x64
- @angular/common: 2.4.7
- @angular/compiler: 2.4.7
- @angular/core: 2.4.7
- @angular/flex-layout: 2.0.0-beta.5
- @angular/forms: 2.4.7
- @angular/http: 2.4.7
- @angular/material: 2.0.0-beta.1
- @angular/platform-browser: 2.4.7
- @angular/platform-browser-dynamic: 2.4.7
- @angular/router: 3.4.7
- @angular/cli: 1.0.0-beta.31
- @angular/compiler-cli: 2.4.7
Repro steps.
- Create a new project
- Upgrade all components to latest version
- Add new service component
- Call a simple http.get method to anything, in my case it's a firebase database like this
getFirebase() {
const firebase = 'https://sampledatabase.firebaseio.com/mydb.json'; // not the actual databse, dummy url
return this.http.get(firebase).map(response => response.json());
};
- Run
ng serve --aot --live-reload
- Witness the error in the title
myservice.service.tsmagicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead
The log given by the failure.
myservice.service.tsmagicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead
Mention any other details that might be useful.
I am using yarn to install dependencies
Metadata
Metadata
Assignees
Labels
No labels