Steps To Reproduce:
1) npm install angular2-rest-client
2) add it to dependencies
3) Seen an error Error loading http://localhost:3000/node_modules/angular2-rest-client/index.js as "angular2-rest-client"
Comment:
It looks like the content of index.js isn't a valid javascript.
Maybe it's not transpiled to JS?
index.js of the v1.0.9 is:
export * from './src/angular2-rest-client';
//# sourceMappingURL=index.js.map
Description: Getting error when running application (with "angular2-rest-client" dependency)
Steps To Reproduce: 1)
npm install angular2-rest-client
2) add it to dependencies 3) Seen an errorError loading http://localhost:3000/node_modules/angular2-rest-client/index.js as "angular2-rest-client"
Comment: It looks like the content of
index.js
isn't a valid javascript. Maybe it's not transpiled to JS?index.js
of the v1.0.9 is: