-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error Command "webpack" Not Found #9382
Comments
Do you have any thoughts on this @noi5e? |
Running
on my local machine seems to solve this issue |
As pointed out in the gitter channel by @noi5e -
Running these commands solves the issue. |
Is this related to the lack of manifest.js file as well? I just added these notes to #3840 (comment) as @TildaDares noted this: Noting that due to recent install of For now, you have to create a The error you may see for which this is the solution is:
The steps are:
Then copy and paste the following into the manifest.js file you just created:
If you have a precompile array in your
i.e. is it possible these steps @waridrox copied in from @noi5e also solve the manifest issue? Just trying to coordinate around these various hiccups. Thanks all! |
@jywarren I ran into the webpack problem after syncing my fork, and was able to resolve it with these commands -
This I believe is for people trying to setup a new db altogether, with
The workaround then is to do - |
I just made an FTO at #9392 to update the installation docs for React & webpacker setup! It's a distinct issue from this one, because as @RuthNjeri mentioned in the original post builds are failing over at |
oh this is awesome. Thank you @noi5e!!!!!
…On Tue, Mar 30, 2021 at 2:05 PM noi5e ***@***.***> wrote:
I just made an FTO at #9392
<#9392> to update the
installation docs for React & webpacker setup!
It's a distinct issue from this one, because as @RuthNjeri
<https://github.com/RuthNjeri> mentioned in the original post builds are
failing <https://jenkins.laboratoriopublico.org/job/Plots-Stable/> over
at stable. For that we'll need to ping @icarito
<https://github.com/icarito>, which I'll do in chat right now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9382 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAF6J56W7JRI7FGR6BYI3LTGIHHFANCNFSM4Z56NBAA>
.
|
A quick search on StackOverflow provided me with these answers:
Will any of these work? |
A couple of weeks ago, webpacker was built correctly in our unstable staging instance. I pushed It looks to me like @anirudhprabhakaran3 is correct that the node version needs to be updated. |
OK just noting that @icarito and i realized the GitHub diff is wrong - all those changes are already in our |
Just noting that it seems to be written wrong in 3 places in the GitHub Actions config - plots2/.github/workflows/tests.yml Line 49 in 999264e
|
I think stable.publiclab.org is building again!!! |
Yup, I think #9395 did fix it. |
Ah, great, I see. I put the commands in the wrong order. Thanks @icarito! |
Oh yeah, I left a note about this in chat (but obviously it's easy to miss with all the activity lately):
|
OK, i'll make that change in a pr, thanks @noi5e !!! |
Thanks, everyone! 🎉 |
Builds have been failing in the stable deployment due to the error
error Command "webpack" not found
This seems to be a common error and there are some solutions as suggested below;
rails/webpacker#522 (comment)
rails/webpacker#522 (comment)
I am not sure what criteria we should use to pick a fix.
The text was updated successfully, but these errors were encountered: