An error that occurs every time you clone. I want to solve it.
yarn or npm is a bundler in ruby, a nodejs tool that manages libraries. It seems that the nodejs library specified by package.json is not downloaded and cannot be executed unless yarn install is executed in the same way that the ruby library cannot be used without bundle install. From the nodejs library, webpack seems to need to execute yarn install in the same way as bundle install in order to eliminate this error.
https://qiita.com/ashketcham/items/48d64e960d436f8b6f78
$ docker-compose run --rm web yarn install
Now the error is gone.
Recommended Posts