Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loader fails to compile polymer.html #29

Open
mvinayakam opened this issue Oct 14, 2017 · 2 comments
Open

Loader fails to compile polymer.html #29

mvinayakam opened this issue Oct 14, 2017 · 2 comments

Comments

@mvinayakam
Copy link

Hello

I am facing issues with the wc-loader. See error message here

ERROR in Error: Child compilation failed:
Module not found: Error: Can't resolve './bower_components/polymer/polymer.html' in '/Users/vinayakam.murugan/Projects/demo-pwa/src':
Error: Can't resolve './bower_components/polymer/polymer.html' in '/Users/vinayakam.murugan/Projects/demo-pwa/src'
Module not found: Error: Can't resolve './bower_components/webcomponentsjs/webcomponents-lite.js' in '/Users/vinayakam.murugan/Projects/demo-pwa/src':
Error: Can't resolve './bower_components/webcomponentsjs/webcomponents-lite.js' in '/Users/vinayakam.murugan/Projects/demo-pwa/src'
Module not found: Error: Can't resolve './custom_components/media-list/media-list.html' in '/Users/vinayakam.murugan/Projects/demo-pwa/src':
Error: Can't resolve './custom_components/media-list/media-list.html' in '/Users/vinayakam.murugan/Projects/demo-pwa/src'

Here is the base project with an older webpack config -
https://github.com/simpleharshit/demo-pwa

Attached is my latest webpack config.

webpack.config.js.zip

@aruntk
Copy link
Owner

aruntk commented Oct 31, 2017

@mvinayakam Sorry for the delayed response. Could you share your package.json as well? I'm not able to reproduce the issue using https://github.com/aruntk/polymer-webpack-demo

@mvinayakam
Copy link
Author

mvinayakam commented Nov 2, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants