-
Notifications
You must be signed in to change notification settings - Fork 767
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
building windows binary fails under wsl and ubuntu vm #3591
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of duplicate issues on this repo, so please double check now that your issue has not already been solved or doesn't have an open issue already. |
I'm fairly certain you need to be in the windows cmd or powershell in order to build for Windows. |
This is accurate |
Even attempting to build debian packages within the linux environment fails the same way. |
From a fresh clone be of the repo with no modifications? Version of node? |
fresh clone; using node v9.11.2 |
Try node 8 or 10 |
downgraded to node v8.16. same thing. |
using node 10, I got a bunch of these when doing the image bit.
|
Looking back I see you are using NPM. Try using yarn to install dependencies as that is the lock file tracked in the repo. If you use npm you will have upgraded sub dependencies that haven't been tested. |
ok. yarn worked in the windows vm to install the dependencies. now running the build script |
I'm not on windows so I can't say for certain, but try and use |
ok, I did I have npm v6.9.0 and node v10.16.0 on the windows vm. |
I've been attempting to build a windows installer from the latest commit but am stuck on one thing.
I'm using the windows subsystem for linux and a ubuntu vm, both give the same error. I'm also attempting it in a windows vm but electron keeps failing to rebuild. not sure why.
OS: Win10 Pro 64bit 1904
GPMDP Version: 1.6.1
Issue Descriptions: Build fail
Steps to Reproduce: download git repo, run npm install, then npm run make:win
The text was updated successfully, but these errors were encountered: