nexe: executable can't be run, access denied (windows 10)
Found this module in a reddit thread and figured I would try it out.
This is a
- Bug Report
- Feature Request
- Other
If this is a bug report, What are the steps to reproduce?
c:\users\tyler>type logtest.js
console.log("test")
C:\Users\tyler>node -v
v8.2.1
C:\Users\tyler>npm -v
5.3.0
C:\Users\tyler>python --version
Python 2.7.11
C:\Users\tyler>nexe -i logtest.js -o logtest.exe
√ Using input file as the main module: logtest.js
- Downloading Node.js source from: https://nodejs.org/dist/v8.2.1/node-v8.2.1.ta
√ Source already downloaded
√ Node binary compiled
√ Executable written to: logtest.exe
√ Finsihed in 1676.911s ### whoa, it really did take 27 minutes... I guess that's compiling node for ya
C:\Users\tyler>dir | find "logtest"
2017-07-30 18:59 24,785,922 logtest.exe ### yikes, i suppose this is expected
2017-07-30 18:15 23 logtest.js
c:\Users\tyler> logtest.exe
Access is denied.
After the last command was entered, a windows 10 prompt showed:
This app can’t be run on your PC To find a version for your PC, check with the software publisher
- Platform(OS/Version): Windows 10 Version 1703 (OS Build 15063.483)
- Host Node Version: v8.2.1
- Target Node Version: v8.2.1
- Nexe version: 2.0.0-beta.2
- Python Version: v2.7.11
Please let me know if there’s any other information I can provide to help diagnose this.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 20 (10 by maintainers)
I tried the console.log(“test”); example code to compile.
inside an index.js it worked for me with:
nexe -o test.exe --buildNow trying on linux and also on linux for win.
My real project is defect at the moment.