Closed hazardco closed 7 years ago
A very recent new version of a dependency of webpack or webpack-dev-server is breaking manifest generation. I'm looking into this now.
Workaround: add:
"webpack-dev-middleware": "1.7.0"
to your package.json, run npm install && npm dedup
There seems to be an issue with stats-webpack-plugin & the latest version of webpack-dev-middleware.
Fixed in latest, see https://github.com/webpack/webpack-dev-middleware/pull/129
I just installed this gem and am getting the same error:
784: unexpected token at 'Cannot GET /webpack/manifest.json
'
I'm on Rails 4.2.4, Ruby 2.2.2p95, Node 4.1.1
I tried adding the webpack-dev-middleware to my package.json dependencies, but am still getting the error. Any ideas? Or do you need more info from me?
Hello,
I have a problem with this gem. I have created a simple project to test webpack-rails with a controller and a unique view. When i execute foreman start I get the following error: "unexpected token at 'Cannot GET /webpack/manifest.json"
I have:
I followed the installation instructions:
I have added "<%= javascript_include_tag *webpack_asset_paths("application") %>" to the layout.html.erb
¿Any solution?
Thanks!!