- Move to the trash these files:
node_modulefolder,package-lock.jsonandyarn.lock; - In your
package.jsonupgrade webpacker to5.3.0; - Run
yarn installin your console
That's it!
In case you don't have the start script in your package.json, you can add:
"scripts": {
"start": "webpack-dev-server"
}
```
Env: Rails 6