IIC2143 / Syllabus-2022-1

IIC2143 Ingeniería de Software 2022-1 🚀✨
72 stars 14 forks source link

[Error] MissingEntryError in Home#index #64

Closed IgnacioEngelberger closed 2 years ago

IgnacioEngelberger commented 2 years ago

Hola, pudimos crear el proyecto sin problemas y corre bien inicialmente como se ve en la foto a continuación:

Capture

Al momento de usar un controlador para crear subdirectorios en el proyecto nos aparece el siguiente error: Screenshot 2022-04-04 131623

Ya intentamos reinstalar todo en diferentes computadores y seguimos obteniendo el problema.

¿Qué podemos hacer?

IgnacioEngelberger commented 2 years ago

UPDATE: Lo pude solucionar con la primera respuesta del siguiente link. https://stackoverflow.com/questions/58520418/rails-webpacker-compile-error-on-production-enviorment

I have the same issue when I run pre-built rails 6 app. Found out it is because of Webpack version inconsistency in yarn.lock file. Then when I run: yarn add @rails/webpacker bundle update webpacker as found in this comment(https://github.com/rails/webpacker/issues/1494#issuecomment-388305305) , issue's solved.