[Webpacker] Compilation Failed when install mastodon!

RAILS_ENV=production bundle exec rails assets:precompile
Webpacker is installed πŸŽ‰ 🍰
Using /home/mastodon/live/config/webpacker.yml file for setting up webpack paths
[Webpacker] Compiling assets πŸŽ‰
[Webpacker] Compilation Failed
yarn run v0.27.5
$ "/home/mastodon/live/node_modules/.bin/webpack" "--config" "/home/mastodon/live/config/webpack/production.js"
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

(node:21704) DeprecationWarning: Chunk.modules is deprecated. Use Chunk.getNumberOfModules/mapModules/forEachModule/containsModule instead.
error Command failed with exit code 137.

how can i solve this problem? thank you!


Are your running out of memory?