nodejs / help

:sparkles: Need help with Node.js? File an Issue here. :rocket:
1.46k stars 279 forks source link

Does NodeJS run in Windows CE x86? #616

Closed binaryangel-noa closed 6 years ago

binaryangel-noa commented 7 years ago

Hello, i am considiring to use nodejs in a project targeted to devices, since at this time windows is a possible target platform, i would like to know if nodejs runs on Windows Embedded Compact (Windows CE) x86, which is not based on the same Kernel like the rest of the Windows Embedded familly.

Any Insights on that ?

Thanks

refack commented 7 years ago

/cc @nodejs/platform-windows

The official list of supported platforms is https://github.com/nodejs/node/blob/master/BUILDING.md#supported-platforms-1 Binaries are at https://nodejs.org/download/release/

But if you have your CE set-up, you could try and build it yourself. node can be built with either x86 or arm support.

P.S. I'm setting up a CE 2013 VM because I'm curious.

benjamingr commented 7 years ago

i would like to know if nodejs runs on Windows Embedded

As Refack said, it's not supported, (I don't think ARM builds run on Windows).

However you might have some success getting https://github.com/nodejs/node-chakracore to run which has the same API but I think you'll need to do some work there too.

gibfahn commented 7 years ago

Maybe a question for @nodejs/chakracore

binaryangel-noa commented 7 years ago

@benjamingr Thank you for you kind answer, but note, that it is not about CE on ARM, but on X86, which implements partially the windows 32Api. So basically that would be the regular Windows Build. My researches so far show that it "might or might not run or not stable" depending on what windows apis is uses.

@refack Thank you very much, i did not come far with setting up a VM with Windows Embedded Compact.

refack commented 7 years ago

My researches so far show that it "might or might not run or not stable" depending on what windows apis is uses.

@binaryangel-noah running vcbuild x86 test will give you a good estimate on what works (our test suite is quite extensive). For extra context on compatibility with the ecosystem there's the CITGM project.

P.S. which version of node would you be interested in? Since the build requirements are different (e.g. v7 can only be build with VS2015)

binaryangel-noa commented 7 years ago

@refack I am looking right now into the Version 6.10.3, the application would be running on industrial machines/devices, so LTS seems for me like the best choice. And our customer wants to stay "Platform Independent" as far posibble, it means right now Linux-Embedded or Windows Embedded Compact (as thats what their devices ship currently with)

refack commented 7 years ago

Version 6.10.3

👍 It has a "soft" limit to VS2015. Also I'm assuming you're targeting Windows CE 2013 (which is compatible with VS2015)

refack commented 7 years ago

"Platform Independent" as far posibble, it means right now Linux-Embedded or

If you have the expertise, go with a linux solution, we build and test on "small" linuxes officially

System Support type Version Architectures
GNU/Linux Tier 1 kernel >= 2.6.18, glibc >= 2.5 x86, x64, arm, arm64

I have node on my router (TP-LINK Archer C7 with a Qualcomm Atheros QCA9558 SoC [MIPS]), and there's Tassel with 32MB RAM...

gireeshpunathil commented 6 years ago

@binaryangel-noah - is this still an outstanding issue for you? please let me know

binaryangel-noa commented 6 years ago

Hi, it resolved itself as our customer decided to use linux after all. Thanks for everyones help.