vcbuild.bat nosign release x64 exited with code: 1
seandadonntech opened this issue · 3 comments
seandadonntech commented
What happened:
trying to make my node js an exe file
What you expected to happen:
I expected it to be compiled perfectly
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
im running node v20
Environment:
- Platform(OS/Version):windows
- Host Node Version:
- Target Node Version: v20
- Nexe version:lastest one
- Python Version:3.9
danielkosinski commented
Can you please add the command you used to build nexe?
Which compiler do you use to build node?
You can run your command in verbose mode, checkout the logLevel argument.
AntonAndreevichMoroz commented
I have the same error. Help me fix it. nexe command output
Environment:
Platform(OS/Version): Windows 11
Nexe version: 4.0.0-rc.4
Python Version: 3.11
VS Version: 2022
nexe .\src\main.js --target win --build --verbose
i nexe 4.0.0-rc.4
√ Downloading Node.js source from: https://nodejs.org/dist/v16.20.2/node-v16.20.2.tar.gz
√ Already downloaded...
√Compiling result
√ Configuring node build: debug
Compiling Node with arguments: nosign,release,x64
Note: vcbuild no longer signs by default. "nosign" is redundant.
Looking for Python
Python found in C:\Program Files\Python311\\python.exe
Python 3.11.0
Looking for NASM
Looking for Visual Studio 2022
calling: "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\\Auxiliary\Build\vcvarsall.bat" amd64
**************************************** ********************
** Visual Studio 2022 Developer Command Prompt v17.8.5
** Copyright (c) 2022 Microsoft Corporation
**************************************** ********************
[vcvarsall.bat] Environment initialized for: 'x64'
Found MSVS version 17.0
configure --with-ltcg --dest-cpu=x64
Node.js configure: Found Python 3.11.0...
Traceback (most recent call last):
File "C:\Users\moroz\.nexe\16.20.2\configure", line 28, in <module>
import configure
ModuleNotFoundError: No module named 'configure'
Failed to create vc project files.
√ Compiling Node with arguments: nosign,release,x64
√ Finished in 1.212s
Error: vcbuild.bat nosign release x64 exited with code: 1
See nexe -h for usage..
github-actions commented
Closed awaiting response from OP, please open a new issue with the requested information and/or examples