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

Unable to Build/Package anything #47

Open
Rottschaferanders opened this issue Jun 14, 2023 · 0 comments
Open

Unable to Build/Package anything #47

Rottschaferanders opened this issue Jun 14, 2023 · 0 comments

Comments

@Rottschaferanders
Copy link

Rottschaferanders commented Jun 14, 2023

I'm attempting to modify the LW4 frontend and I've been trying to find a way to package everything for release. At this point, I don't care if that release is in the form of a docker image, native app (OSX, Windows, Linux), or whatever. I have tried what feels like everything under the sun, but no luck. Every error I talk about was reproducible for both my forks of LaserWeb4's stuff AND the official repos. They were also reproducible on both MacOS (my machine) and inside a Ubuntu VM. I've also tried ./build.osx.sh with node versions 10.16.3, v12.22.12, and v20.0.0 (just as a hail-mary). I could be approaching this all wrong and if I am, I'd appreciate more information on how the maintainers do their releases. Do those build process even work still? I've attached a build log from ./build.osx.sh

build_osx_2.log

Edit: I've also tried building the docker containers in the LaserWeb4 repo, but my changes to the frontend never copy over to the image and it's honestly baffling. I found out the npm run bundle-prod command is throwing a lot of UglifyJs errors and failing and my guess is that is a sign of the source of the docker problem. Here is a log of npm run bundle-prod:
bundle-prod.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant