pmq20 / node-packer

Packing your Node.js application into a single executable.
MIT License
3.07k stars 199 forks source link

nodec-v1.5.0-x64 throw errors "No such file or directory - node -pe process.arch" #139

Open kangks opened 5 years ago

kangks commented 5 years ago

I have a Windows 2016 with AMD EPYC 7571, 64GB RAM. I also have these in the PATH

But when I run the nodec, it straights away give me the error below, what else dependencies have I missed?

I have the same installations on Windows 10 and it works fine, could it be the AMD or Windows Server 2016?

D:/__enclose_io_memfs__/local/lib/compiler.rb:105:in ``': No such file or directory - node -pe process.arch (Errno::ENOENT)
        from D:/__enclose_io_memfs__/local/lib/compiler.rb:105:in `init_options'
        from D:/__enclose_io_memfs__/local/lib/compiler.rb:26:in `initialize'
        from /__enclose_io_memfs__/local/bin/nodec:153:in `new'
        from /__enclose_io_memfs__/local/bin/nodec:153:in `<main>'