Please provide us with the following information:
- OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Mac El Capitan
ng --version
. If there's nothing outputted, please runnode --version
and paste the result here:ng --version
(node:34059) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
angular-cli: local (v1.0.0-beta.10, branch: master)
node: 6.2.0
os: darwin x64
I followed https://github.com/filipesilva/angular-cli/blob/061fc54cb67681c372cc66351c6f9221db9edf51/WEBPACK_UPDATE.md to migrate my project to use webpack. When I run ng serve
, everything seems to be ok until at the end. I'm not sure if this is an issue of the npm package (@vaadin/angular2-polymer) I'm using or if this is something I need to set up in the webpack config to load npm package properly. Please advise.
I'm getting this at the end of ng serve
:
WARNING in ./~/@vaadin/angular2-polymer/index.js
Cannot find source file 'index.ts': Error: Can't resolve './index.ts' in '/Users/bbpan/src/infocery-partner-ui/node_modules/@vaadin/angular2-polymer'
@ ./src/app/app.component.ts 12:0-58
@ ./src/app/index.ts
@ ./src/main.ts
@ multi main
WARNING in ./~/@vaadin/angular2-polymer/src/polymer-element.js
Cannot find source file 'polymer-element.ts': Error: Can't resolve './polymer-element.ts' in '/Users/bbpan/src/infocery-partner-ui/node_modules/@vaadin/angular2-polymer/src'
@ ./~/@vaadin/angular2-polymer/index.js 2:24-56
@ ./src/app/app.component.ts
@ ./src/app/index.ts
@ ./src/main.ts
@ multi main
Child html-webpack-plugin for "index.html":
Asset Size Chunks Chunk Names
index.html 2.47 kB 0
webpack: bundle is now VALID.
It looks like there is general issues for this with webpack. It may be worth reading this issue https://github.com/vaadin/angular2-polymer/issues/32
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
It looks like there is general issues for this with webpack. It may be worth reading this issue https://github.com/vaadin/angular2-polymer/issues/32