I just make a new rails app with versions
Rails = 6.1.3
Ruby = 2.7.2
webpacker = 5.2.1
Everything was fine but when I generate Room Scaffold and want to visit localhost:3000/rooms Some error occurs
Failed to load /config/webpack/development.js' config
TypeError: Right-hand side of 'instanceof' is not an object
Webpacker can't find application.js in manifest.json
And when I execute
bundle exec rake webpacker:install
It failed by some errors occurs on the image below