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

Production Mode #1

Open
evertonrobertoauler opened this issue Jun 20, 2016 · 2 comments
Open

Production Mode #1

evertonrobertoauler opened this issue Jun 20, 2016 · 2 comments

Comments

@evertonrobertoauler
Copy link

Hey there,

This is an awesome project, in developer mode it works just fine, but when I tried to use it in production mode, it didn't work well:

ng serve -prod

404 http://localhost:4200/bower_components/webcomponentsjs/webcomponents-lite.js Failed to load resource: the server responded with a status of 404 (Not Found)
404 http://localhost:4200/bower_components/vaadin-grid/vaadin-grid.min.js Failed to load resource: the server responded with a status of 404 (Not Found)

I don't know why but the angular-cli remove the .js files from the bower_components folder.

@marcushellberg
Copy link
Owner

Hey. Thanks for reporting! Can you please open up an issue for this on https://github.com/vaadin/angular2-polymer just to make sure that the dev team doesn't miss it?

@tehapo
Copy link

tehapo commented Aug 2, 2016

Updating angular-cli to 1.0.0-beta.10 resolves this problem.

See also platosha/angular-polymer#28 (comment).

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

3 participants