last day (15 days later) » 

12:13 AM
0
A: Run command while simulating OS

murgatroid99You can download the binaries for other platforms using the --target_platform option. To get Linux and MacOS binaries you want to use the values linux and darwin.

 
Well, I got an error: node-pre-gyp WARN Tried to download(404): https://node-precompiled-binaries.grpc.io/grpc/v1.19.0/elect‌​ron-v4.0-linux-x64-u‌​nknown.tar.gz , what's the latest Electron version that the gRPC binaries that are compiled to it, support both Windows, Linux, and macOS?
 
As I said in my other comment, anything but Electron 4.0 will work. So you can use Electron 4.1, or Electron 5, or anything else.
 
Well, I got a problem while attempting to execute the command I put in my main post, except replacing 4.0.3 with 5.0.1
After some Googling, I landed on a GitHub issue report, which led me to this page. The question is now how to specifically pick a version using the NPM command.
 
The beginning of that error output will have more useful information than the end does.
 
Right now I'm attempting to solve the problem by downloading .Net Framework 2.0 SDK
After some Googling, landing here, I think the problem isn't exactly according to the error, i.e. that I need .Net Framework 2.0 SDK - but rather I just need to install via Visual Studio the C++ features to have the C++ compiler.
 
12:13 AM
The reason I said that is that you shouldn't need to build the library at all. There are binary files distributed for grpc. The beginning of the error output should show that it tried to download the file and why that failed.
 
Thanks for pointing it out. When I first encountered this issue & started Googling, I simply arrived at the NPM command that I included in the main post, which solved the problem. Though now I need a different solution, like you said.
The download has been finished. Now I'm simply having an error of "node-pre-gyp WARN Tried to download(404): https://node-precompiled-binaries.grpc.io/grpc/v1.19.0/electron-v5.0-win32-x64-unknown.tar.gz"
Any idea of how I can target a specific version of gRPC?
Okay, seems like "npm rebuild grpc@1.20.3 --target=5.0.1 --runtime=electron --dist-url=https://atom.io/download/electron --update-binary" did the trick, at least for now, since no errors were emitted.
 
12:34 AM
Right, the issue there is that Electron 5 is very recent, so grpc did not support Electron 5 until version 1.20
 
Well, I only found out today about the list of pre-compiled gRPC binaries
I mean, I was pretty sure that one exists. Only today, however, I was actually able to reach that list
 
1:12 AM
RIght now I'm attempting to copy files over LAN to the Ubuntu machine, except - it takes forever
Any idea how to speed things up?
 
 
6 hours later…
7:12 AM
I finally transferred the files, though I gave up on LAN - used my phone as a flash drive instead
Now I'm encountering an error of
"Expected directory: electron-v5.0-linux-x64-glibc
Found: [node-v64-win32-x64-unknown]"
 
 
6 hours later…
1:23 PM
Well, I kept getting errors, so I just reverted back to 4.0.3. Hopefully, the errors will be gone at once
 

last day (15 days later) »