pmq20 / node-packer

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

Can't run output .exe file #76

Open ghost opened 7 years ago

ghost commented 7 years ago

I'm always getting this error, when launching the compiled .exe file: Assertion failed: !(S_ISDIR(squash_global_fdtable.fds[fd]->st.st_mode)), file sample\enclose_io_win32.c, line 87

--

If i just compile a simple console.log("test"); this is working without any problems.

Compiled with Nodejs v8.3 and Nodec v1.5. Python 2.7, VS 2017.

nodec ./index.js --clean-tmpdir

packages.json: { "name": "exe", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", "license": "MIT", "dependencies": { "cheerio": "^1.0.0-rc.2", "fakerator": "^0.3.0", "readline": "^1.3.0", "request": "^2.81.0", "steam-totp": "^2.0.1", "steam-user": "^3.21.7", "steam-web-api-key": "0.0.3", "steamid": "^1.1.0" } }

pmq20 commented 7 years ago

Wow, this is weird. Let me try if I can reproduce this locally.