Webpacker can’t find application May 19, 2023 by Tarik run the command rails webpacker:install This solved the problem for me.