-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
latest version of buildtools can not run after checkout #386
Comments
I have what I think is the same issue with Windows 7 64-bit, and the error message is similar, running e.g. buildtools\zip.exe:
|
Well that's funky and unexpected. If you want to submit a PR with the The build tools did recently change, but it was updating the tools to support 32 and 64 bit environments... the 16 bit message is what feels funky. I'm marking this for investigation and will revert the tools if necessary. |
I think you'll have to re-commit the binaries after checking out the .gitattributes ... the 16-bit message just says that the actual PE structure inside the binary is not valid, without it Windows thinks it's an old .com executable. |
so, any news on this issue ? this is preventing me to build the app myself to be able to use the commits made on August 3rd that fixed the issue #41 because there isn't any prebuilt version with this fix implemented, if there's any way around this issue, even if it requires me to create a VM just to build the app on a different windows version, i'm up for suggestions, i just really want to have a build with that issue fixed (preferebly a way that also lets me build a 64bit version of it, but that's not really a major problem) |
I got a working amd64 build on win10 64bit using following steps:
|
this issue still exists Perhaps d7d6's suggestion could be incorporated into the actual project? |
version 5.6.1 of what program? The zip program is 3.0 and nvm is 1.1.7 so I can't see what program you mean? |
You right. I just corrected the post. The software where I picked the files was the Inno Setup Compiler. |
Came across this same issue today. Hopefully @coreybutler can add a new release to https://github.com/coreybutler/nvm-windows/releases. The last one is from over 2 years ago. The new release fixes issues with spaces in user name folder and using git bash with the weird error popup for "this file does not have an app associated with it for performing this action." For the latter, I can just make sure nodejs and nvm get installed some where the user has permissions for symlinks due to the changes in #511. I will take a look at creating a PR with 64 bit compatibility if I have time. |
The build tools have been update in the latest release (https://github.com/coreybutler/nvm-windows/releases/tag/1.1.8). |
If this is a question about how to use NVM4W, please use stackoverflow instead.
If this is an issue regarding antivirus, make sure you search the existing issues first.
My Environment
I'm using NVM4W version:
trying to build from github
I have already...
My issue is related to (check only those which apply):
building from source
Expected Behavior
Running build.bat (after the other steps outlined in README.md) should build an installer.
Actual Behavior
A popup tells me that the binaries in
buildtools
are not designed for windows:Steps to reproduce the problem:
git clone git@github.com:coreybutler/nvm-windows
cd nvm-windows
build.bat
(i.e., fetching the go dependencies is not required to reproduce, it doesn't fix the problem, either)
Additional information / Ohter things tried
Reverting to the previous commit b87de53 allows the tools to run.
Another symptom is that git thinks the tools are modified immediately after checkout.
Adding the following to .gitattributes allows the tools to be checked out without modification, but still doesn't allow to tools to run:
(Since the WIndows git installer lets the user to control some settings on installation we might have different global git settings, I am not completely sure what option I selected for those. But I feel the projects .gitattributes should make sure that checkout does not rely on those global settings.)
The text was updated successfully, but these errors were encountered: