igorklopov / enclose

Compile your Node.js project into an executable
http://enclosejs.com
Other
936 stars 43 forks source link

confusing message in the error #80

Closed teraPacket closed 7 years ago

teraPacket commented 8 years ago

I am running ubuntu 14.04 with kernel 3.19.0-33-generic. When running the latest enclose, got the following error. I don't know what action I should take on sentence "Run with or without --x64 flag". Any ideas? Thanks.

$ enclose

/usr/local/lib/node_modules/enclose/bin/enclose.js:125
      if (error) throw error;
                       ^
Error: Your OS does not support v4.2.4-linux-x64. Run with or without --x64 flag.
    at ChildProcess.<anonymous> (/usr/local/lib/node_modules/enclose/bin/enclose.js:180:10)
    at ChildProcess.EventEmitter.emit (events.js:95:17)
    at Process.ChildProcess._handle.onexit (child_process.js:795:12)
igorklopov commented 8 years ago

Did you run just enclose command to get this?

teraPacket commented 8 years ago

my command line is

$ enclose test.js

test.js is a simple js file

console.log("Hello");
jitendra-khatri commented 8 years ago

I am facing the same issue. @capstar Have you got any solution for this?

teraPacket commented 8 years ago

Unfortunately no.

On Wed, Feb 10, 2016 at 8:04 AM, Jitendra Khatri notifications@github.com wrote:

I am facing the same issue. @capstar https://github.com/capstar Have you got any solution for this?

— Reply to this email directly or view it on GitHub https://github.com/igorklopov/enclose/issues/80#issuecomment-182388484.

igorklopov commented 8 years ago

Probably you specified bad nodejs version to wrap your project in. For example you specified 4.2.4, but enclosejs can wrap only in 4.2.6. Please review your compilation command line.

igorklopov commented 8 years ago

Another way refer to node_modules/enclose/bin directory and try to run desired compiler manually. Also you may list that directory here so that i can investigate further.

igorklopov commented 7 years ago

Dear users of EncloseJS! I highly encourage you to switch to https://github.com/zeit/pkg It is rewritten successor of EncloseJS. It is open source, and all improvements will go there. Please check if pkg has your issue unresolved, and if it is true, reopen your issue there: https://github.com/zeit/pkg/issues