create3000 / x_ite

X_ITE X3D Browser, view and manipulate X3D and VRML scenes in HTML.
https://create3000.github.io/x_ite/
Other
66 stars 13 forks source link

"Better" webpack.config.js, for Git Bash under Windows 10 #168

Closed coderextreme closed 2 months ago

coderextreme commented 2 months ago

webpack.config.js.txt

I had never really seen | used for a perl substitution s|...|...| operator before. Just to let you know, when you put that inside backticks, `, inside a webpack config, that's asking for trouble!

See link for "improved" version. Test on your system, please.

I am running webpack with no options right now.

That's pretty much all I can deal with other people's bugs for today.

Thanks for creating a great system with X_ITE and Sunrize. I can work on testing your build systems for Windows 10 and Git Bash.

John

coderextreme commented 2 months ago

I’m thinking that using node.exe instead of node on windows may solve a few issues. Maybe perl.exe too…

create3000 commented 2 months ago

The module config and build scripts are not made to run on Windows, it is made to run on macOS, and maybe Linux.

coderextreme commented 2 months ago

That’s fairly obvious. Pipes or | don’t work in substitutions in perl under webpack on Windows. Either Powershell or Git Bash.

Linux or WSL2 works okay. Just don’t run on a Windows file system on older versions of Linux.

Apple pretty much sucks, but it’s better than Linux. I think Apple purposefully slows down older hardware.

John

On Thu, May 2, 2024 at 3:40 PM Holger Seelig @.***> wrote:

The module config and build scripts are not made to run on Windows, it is made to run on macOS, and maybe Linux.

— Reply to this email directly, view it on GitHub https://github.com/create3000/x_ite/issues/168#issuecomment-2091514891, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFMJ5ZTB6IJHXLL6OKQM7TZAKQCJAVCNFSM6AAAAABGWRPJX6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJRGUYTIOBZGE . You are receiving this because you authored the thread.Message ID: @.***>

coderextreme commented 2 months ago

Bummer that. WSL2 is Linux 5.X kernel

On Thu, May 2, 2024 at 4:06 PM John Carlson @.***> wrote:

That’s fairly obvious. Pipes or | don’t work in substitutions in perl under webpack on Windows. Either Powershell or Git Bash.

Linux or WSL2 works okay. Just don’t run on a Windows file system on older versions of Linux.

Apple pretty much sucks, but it’s better than Linux. I think Apple purposefully slows down older hardware.

John

On Thu, May 2, 2024 at 3:40 PM Holger Seelig @.***> wrote:

The module config and build scripts are not made to run on Windows, it is made to run on macOS, and maybe Linux.

— Reply to this email directly, view it on GitHub https://github.com/create3000/x_ite/issues/168#issuecomment-2091514891, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFMJ5ZTB6IJHXLL6OKQM7TZAKQCJAVCNFSM6AAAAABGWRPJX6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJRGUYTIOBZGE . You are receiving this because you authored the thread.Message ID: @.***>

coderextreme commented 2 months ago

I do think there might be some issues in my Windows version where the output files are filled with comments

On Thu, May 2, 2024 at 3:40 PM Holger Seelig @.***> wrote:

The module config and build scripts are not made to run on Windows, it is made to run on macOS, and maybe Linux.

— Reply to this email directly, view it on GitHub https://github.com/create3000/x_ite/issues/168#issuecomment-2091514891, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFMJ5ZTB6IJHXLL6OKQM7TZAKQCJAVCNFSM6AAAAABGWRPJX6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJRGUYTIOBZGE . You are receiving this because you authored the thread.Message ID: @.***>