rails / webpacker

Use Webpack to manage app-like JavaScript modules in Rails
MIT License
5.31k stars 1.47k forks source link

provides two more common errors (fix suggestions) for Webpacker::Manifest::MissingEntryError #3232

Closed jasonfb closed 2 years ago

jasonfb commented 2 years ago

see https://stackoverflow.com/questions/52639256/webpackermanifestmissingentryerror

justin808 commented 2 years ago

@guillaumebriday We should merge after the comment is addressed.

jasonfb commented 2 years ago

this is mostly about 1 and 2; 3 (was previously 1) I just cleaned up the verbiage to match "Possible causes" as it was written out of style with the others.

jasonfb commented 2 years ago

@justin808 @guillaumebriday -- done. Can you tell me just out of curiosity why you are recommending against npm in favor of yarn (I use yarn myself cause I find it a little smoother).

FYI... this was researched by (and thanks the folks who fell down this rabbit hole)... https://stackoverflow.com/questions/54113179/rails-webpackermanifestmissingentryerror-in-homeindex/70326851?noredirect=1#comment124478710_70326851

justin808 commented 2 years ago

Hi @jasonfb, a number of years ago, yarn worked better. It's hard to support both equally well. If you think these could be supported equally well, please submit a PR with your justifications.

guillaumebriday commented 2 years ago

Thanks @jasonfb and @justin808