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
Error to build N1 in Windows 10 with Visual Studio 2015 #2749
Comments
I also got errors on build in Ubuntu 16 LTS:
Thank you. |
Hi, I am facing the exact same issue while trying to compile on Windows 10 with Visual Studio 2015. Did you find a solution? Thanks, Jon |
Hi Jon, I still have this same issue on Windows 10 again with the latest code. I tested this project in Cloud9 which uses Linux and still see the issue in Ubuntu. It seems to be the problem with node-gyp version being used with node/npm in Windows but I don't go further for the solution. -Khoa |
Hi Khoa, Thanks for the information. node-gyp is not able to be recompiled and whatever the version of Node used or version of Visual studio, it gives the same results. I tried everything and really don't know how to fix this. If someone has an idea... Jon |
Hey folks! Unfortunately we have a few native node modules that don't seem to build correctly with VS 2015. Our team uses VS 2013 to build N1, along with Node 4.2. Could you try using those? I believe you can run If you previously had problems building, you may have half-built or incorrectly-built node modules inside the project directory that don't get rebuilt. You can reset your working copy with Sorry, Windows is definitely the hardest platform to build Node projects on, and we have so many native node modules that we depend on, it's sort of a battle to get them all compiling happily. |
Thank you @bengotow . I follow your instruction to install and use Node 4.2 with VS 2013. It comes better not to show the error of using VS 2015 but it get another error of
|
Hi bengotow, I've just tried with Visual Studio 2013 and I also removed Visual Studio 2015, but here is the result:
Do you have any other suggestions? Thanks |
I had a better result to fix my previous errors (in Windows 10). Here are my steps: Delete npm-cache folder at %AppData%\npm-cache
Here is the new error log. I hope it comes closer to success:
I don't know which code to modify in script\boostrap to fix this error. |
Hi, I was finally able to build Nylas Under Windows 10 with visual studio 2013!
And use the following commands:
The problem was linked to the fact that compiler was trying to use installed build Tools (Platform Toolset = 'v140') and was generating issues during compilation process. Now everything works well! I hope that this will help anyone having the same issue. Jon |
Hey that's great! Glad you got it working - I haven't run into the build tools issue before. Good to know! |
Hi,
I follow the instruction at https://github.com/nylas/N1/blob/master/docs/Windows.md to build N1 in Windows 10 with Visual Studio 2015. However, there is an error that I still don't know how to fix. My node-gyp version is 3.4.0.
Thank you.
The text was updated successfully, but these errors were encountered: