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
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.shwith 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.shbuild_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-prodcommand 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 ofnpm run bundle-prod:bundle-prod.log