After my post which explained how to build the Nylas N1 email client on macOS, here is the second post in the series which focuses on Windows 10 instead.
I had no shortage of issues and error messages trying to build N1 on Windows (and I wasn’t the only one, as the issues I opened in GitHub were often reproduced by others as well), but they all happened because I was trying to use an unsupported version of Visual Studio (2015 Community Edition, in my case) so here is all you need to do to be able to successfully build Nylas N1 on Windows 10.
What you will need
How to build the N1 email client
- Make sure python.exe is in your PATH
git clone https://github.com/nylas/N1.git
Now simply wait for the build process to complete (it will take a few minutes).
How to run the N1 email client
After building N1, you can run it with the following command:
electron\electron.exe . --dev
The first time you execute N1, you might have to run this command twice. After only executing it once, I got this weird-looking screen:
Executing it again made N1 start correctly.
So here you go, this is how to successfully build the Nylas N1 email client on Windows. Once you figure out that using Visual Studio 2013 is a requirement and that this is not supposed to work with any other version of Visual Studio, the build process is extremely straightforward and will finally stop throwing build errors at you.