-
Notifications
You must be signed in to change notification settings - Fork 20
Problem: compose build fails with webpack not found #49
Comments
For the wider world, I'll note that I'm on macOS Sierra, docker-compose v1.18, docker v17.12. |
And FWIW, it's working for me! Radda found this issue too in a different environment so this is likely not because of Compose. See artefactual/deploy-pub#56. @jraddaoui is looking into it. |
This looks to be related to an issue with npm it did not add an executable onder ./nodule_modules/bin |
Thanks for checking it out! Agree, we should consider yarn because it definitely seems less problematic. Also, we should merge transfer-browser and appraisal-tab into a single app - they're now separate because they came from different repos. Also it wouldn't hurt to update our frontend libraries in particular webpack, we're using an ancient version! |
Is switching to yarn something I could do locally by editing the Makefile or similiar? I'm running into the same webpack error on macOS 10.13. |
Totally @nkrabben! During the image build, things happen here: https://github.com/artefactual/archivematica/blob/qa/1.x/src/dashboard.Dockerfile#L43-L49
The Lines 78 to 90 in 4c09a46
You may notice that we have two frontend apps, appraisal-tab and transfer-browser. It's totally unnecessary, it's like that because they used to live in different repos. I'm hoping in AM18 we can merge them and take that opportunity to update webpack. |
I'm also experiencing this error during the build process when running In addition to the error messages noted by @ablwr above, I also saw the following:
Changing the I'm on macOS High Sierra, Docker version 18.06.0-ce, docker-compose version 1.22.0 |
To get around this, @sevein recommended I build the individual bootstrap frontend requirements locally, and I updated the https://github.com/artefactual-labs/am/tree/master/compose#make-bootstrap-fails-to-run |
I was able to make this work with the naive changes in this WIP PR: #70 (macOS Sierra v10.13.5, docker-compose v1.21, docker v18.03. |
Replaced by archivematica/Issues#226. |
@cdekok and @ablwr reported the same issue.
This is the Dashboard container:
The text was updated successfully, but these errors were encountered: