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

Devfile-web build process throwing errors #1356

Closed
Jdubrick opened this issue Nov 17, 2023 · 6 comments · Fixed by devfile/devfile-web#110
Closed

Devfile-web build process throwing errors #1356

Jdubrick opened this issue Nov 17, 2023 · 6 comments · Fixed by devfile/devfile-web#110
Assignees
Labels
area/registry-viewer kind/bug Something isn't working severity/blocker Issues that prevent developers from working

Comments

@Jdubrick
Copy link
Contributor

Which area this feature is related to?

/area registry-viewer
/kind bug

Which area this bug is related to?

/area registry-viewer

Bug Summary

Describe the bug:

When trying to run the build scripts for devfile-web to create a container image the build is failing because of an issue related to the dependencies and the Dockerfile.

To Reproduce:

Running bash ./scripts/build_viewer.sh from the root project directory produces the following error:

Console Output

Expected behavior

The build script should be producing a container image at its completion.

Suggestion on how to fix the bug

Most likely just missing dependencies or they need to be updated.

@michael-valdron
Copy link
Member

@Jdubrick I did a bit more investigation into this problem and it appears to be a dependency incompatibility with the apple silicon arm64 platform parcel-bundler/parcel#9262, there's another open issue for this with recent activity parcel-bundler/watcher#156.

For this issue, we will need to investigate if there is a workaround to this and if not wait for a patch to come out.

@michael-valdron michael-valdron removed the severity/blocker Issues that prevent developers from working label Nov 18, 2023
@thepetk thepetk moved this to Backlog in Devfile Project Nov 20, 2023
@Jdubrick Jdubrick moved this from Backlog to To Do 📝 in Devfile Project Nov 20, 2023
@Jdubrick Jdubrick self-assigned this Nov 20, 2023
@Jdubrick Jdubrick moved this from To Do 📝 to In Progress 🚧 in Devfile Project Nov 21, 2023
@Jdubrick
Copy link
Contributor Author

Moving this issue out of sprint as the issues linked above are still open. Tried a bunch of workarounds and nothing seemed to remedy the solution so we may have to just monitor and wait for a patch.

@Jdubrick Jdubrick removed their assignment Nov 22, 2023
@Jdubrick Jdubrick moved this from In Progress 🚧 to Backlog in Devfile Project Nov 22, 2023
@michael-valdron
Copy link
Member

Needs a fix for parcel-bundler/watcher#156

@thepetk
Copy link
Contributor

thepetk commented Nov 27, 2023

I've been looking for a workaround on this and found this fix nrwl/nx#19751

@thepetk
Copy link
Contributor

thepetk commented Nov 27, 2023

Added a draft PR here: devfile/devfile-web#110

@michael-valdron michael-valdron added the severity/blocker Issues that prevent developers from working label Nov 27, 2023
@Jdubrick
Copy link
Contributor Author

After trying to run the proposed changes it exits out during the yarn --frozen-lockfile stage with exit code 139. The container doesn't build by this point so I can't access it to check any logs for why so I am currently looking at other options. There is a possibility that the issues are related to this (under Apple Silicon) where it states arm64 can segfault when trying to connect to some TLS servers.

@thepetk

@johnmcollier johnmcollier moved this from Backlog to To Do 📝 in Devfile Project Nov 28, 2023
@thepetk thepetk moved this from To Do 📝 to In Progress 🚧 in Devfile Project Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/registry-viewer kind/bug Something isn't working severity/blocker Issues that prevent developers from working
Projects
Status: Done ✅
Development

Successfully merging a pull request may close this issue.

4 participants