Closed ghost closed 9 years ago
The workaround is to do a manual install.
Looked into it a bit.
This sounds related to polymer-core-rails or polymer-paper-rails. Both gems contain core-animation which imports the web-animations-next-lite.min.js file. I was able to reproduce this error in the Chrome debug console when running rails in development mode with the polymer-paper-rails gem (move issue to here?). The error shouldn't show up in production mode.
Source-map files are used by the browser to map between the minified js and original (useful when debugging).
The error is caused by this line at the bottom of the minified js:
//# sourceMappingURL=web-animations-next-lite.min.js.map
This is included inline with the rest of the components in application.html. As far as I know source-map support for rails (sprockets) is still a work in progress. Therefore, I believe the error will still exist if we simply include the map files in the gem assets. Removing the line is also less than ideal since the components are updated via bower.
Thank you for quick reply.
//= require web-animations-js
to app/assets/javascripts/application.js.It might be helpful for others to highlight this on Installation page until the issue has been resolved.
Closed as the issue isn't with polymer-rails.
Hi, I am wondering if there are others that have seen this issue.
I am getting this message: GET http://localhost:3000/assets/web-animations-next-lite.min.js.map 404 (Not Found)
Thanks