Skip to content
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

Webpack container fails after adding uppy/aws-s3 dependency #19

Closed
jacobtylerwalls opened this issue Oct 17, 2023 · 0 comments · Fixed by #21
Closed

Webpack container fails after adding uppy/aws-s3 dependency #19

jacobtylerwalls opened this issue Oct 17, 2023 · 0 comments · Fixed by #21
Assignees

Comments

@jacobtylerwalls
Copy link
Member

As of archesproject/arches-for-science@ca37e13, which added uppy/aws-s3 as a dependency, building webpack with docker fails with:

(This might ultimately source to core arches if there are arches application tweaks needed?)

@aarongundel do you see the same?

disco-webpack     | ERROR in ../../arches-for-science/arches_for_science/media/js/bindings/uppy.js 
disco-webpack     | Module not found: Error: Can't resolve '@uppy/aws-s3' in '/web_root/arches-for-science/arches_for_science/media/js/bindings'
disco-webpack     | resolve '@uppy/aws-s3' in '/web_root/arches-for-science/arches_for_science/media/js/bindings'
disco-webpack     |   Parsed request is a module
disco-webpack     |   using description file: /web_root/arches-for-science/package.json (relative path: ./arches_for_science/media/js/bindings)
disco-webpack     |     Field 'browser' doesn't contain a valid alias configuration
disco-webpack     |     resolve as module
disco-webpack     |       looking for modules in /web_root/disco/disco/media/node_modules
disco-webpack     |         single file module
disco-webpack     |           using description file: /web_root/disco/disco/package.json (relative path: ./media/node_modules/@uppy/aws-s3)
disco-webpack     |             no extension
disco-webpack     |               Field 'browser' doesn't contain a valid alias configuration
disco-webpack     |               /web_root/disco/disco/media/node_modules/@uppy/aws-s3 doesn't exist
disco-webpack     |             .js
disco-webpack     |               Field 'browser' doesn't contain a valid alias configuration
disco-webpack     |               /web_root/disco/disco/media/node_modules/@uppy/aws-s3.js doesn't exist
disco-webpack     |             .json
disco-webpack     |               Field 'browser' doesn't contain a valid alias configuration
disco-webpack     |               /web_root/disco/disco/media/node_modules/@uppy/aws-s3.json doesn't exist
disco-webpack     |             .wasm
disco-webpack     |               Field 'browser' doesn't contain a valid alias configuration
disco-webpack     |               /web_root/disco/disco/media/node_modules/@uppy/aws-s3.wasm doesn't exist
disco-webpack     |         /web_root/disco/disco/media/node_modules/@uppy/aws-s3 doesn't exist
disco-webpack     | 
disco-webpack     | webpack 5.88.2 compiled with 1 error and 1 warning in 39444 ms
@aarongundel aarongundel moved this to 👀 In review in afs-pipeline Oct 20, 2023
@aarongundel aarongundel self-assigned this Oct 20, 2023
@jacobtylerwalls jacobtylerwalls linked a pull request Oct 20, 2023 that will close this issue
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in afs-pipeline Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants