-
Ruby version 3.0.3 Hi I'm installing react on rails in a running project. When all is done I got a merge issue when running foreman start -f Procfile.dev 15:06:54 wp-client.1 | const commonWebpackConfig = () => merge({}, baseClientWebpackConfig, commonOptions); here is my package.json file: { The webpack version of 5.8.0 match the syntax in the error line, but I'm a bit surprised by the web pack version of 4.46.0, I don't know why, but I was expecting a 5.X version for this package. I have found those lines in the execution of bundle exec rails webpacker:install Installing webpack and webpack-cli as direct dependencies What is wrong with my setup? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@demo360o2 Use https://github.com/shakacode/shakapacker ! Check out the example code: https://github.com/shakacode/react_on_rails_tutorial_with_ssr_and_hmr_fast_refresh. |
Beta Was this translation helpful? Give feedback.
@demo360o2 Use https://github.com/shakacode/shakapacker !
Check out the example code: https://github.com/shakacode/react_on_rails_tutorial_with_ssr_and_hmr_fast_refresh.