Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

404 on application.js, unable to find other manifestts. #65

Closed
ponny opened this issue Nov 7, 2016 · 1 comment
Closed

404 on application.js, unable to find other manifestts. #65

ponny opened this issue Nov 7, 2016 · 1 comment

Comments

@ponny
Copy link

ponny commented Nov 7, 2016

I've followed the instructions from the gem markdown.

For some reason I'm getting the rails 404 on /webpack/application.js.

I've tried adding other files alongside application.js but all I'm getting is "Can't find entry point 'main' in webpack manifest". Re-running npm install and restarting Foreman doesn't fix the issue.

Any ideas what I'm doing wrong that would cause this strange behaviour?

Update: I've tried the steps in #58 but no fix.

Update 2: I figured out that I need to add main/main.js to the entry points in webpack.config.js but it's 404ing the same as application.js.

@ponny
Copy link
Author

ponny commented Nov 7, 2016

My bad there - we had some host rewriting going on to handle CDNs. Might be worth mentioning adding extra files to webpack.config.js in the readme or using auto-discovery.

@ponny ponny closed this as completed Nov 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant