Skip to content

Instantly share code, notes, and snippets.

@daviddavis
Last active August 10, 2016 19:09
Show Gist options
  • Save daviddavis/38e16772a87cf316cf47ca868b1ccedf to your computer and use it in GitHub Desktop.
Save daviddavis/38e16772a87cf316cf47ca868b1ccedf to your computer and use it in GitHub Desktop.

If you're getting Webpack::Rails::Manifest::ManifestLoadError in foreman, you need to compile your webpack assets. To do so:

  1. Install npm (i.e. sudo yum install npm).
  2. From your foreman directory run npm install.
  3. Run rake webpack:compile from inside foreman and then rails server. This will only compile the foreman js assets statically. You can alternatively run foreman start to get dynamic compilation of foreman assets but I think there might be a problem with pry output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment