Closed axtens closed 3 years ago
The primary problem here is that we haven't published Node 15 binaries yet, and the building from source fallback usually does not work on Windows. Node 14 will work, but you're probably better off switching to @grpc/grpc-js
because that is what we are actively developing going forward.
[10:13:05] C:\Users\bugma>scoop uninstall nodejs --purge
Uninstalling 'nodejs' (15.2.1).
Unlinking ~\scoop\apps\nodejs\current
Removing ~\scoop\apps\nodejs\current\bin from your path.
Removing ~\scoop\apps\nodejs\current from your path.
Removing persisted data.
'nodejs' was uninstalled.
[10:14:07] C:\Users\bugma>scoop install nodejs-lts
Installing 'nodejs-lts' (14.15.1) [64bit]
node-v14.15.1-win-x64.7z (16.6 MB) [==========================================================================] 100%
Checking hash of node-v14.15.1-win-x64.7z ... ok.
Extracting node-v14.15.1-win-x64.7z ... done.
Linking ~\scoop\apps\nodejs-lts\current => ~\scoop\apps\nodejs-lts\14.15.1
Persisting bin
Persisting cache
Running post-install script...
'nodejs-lts' (14.15.1) was installed successfully!
you're probably better off switching to
@grpc/grpc-js
because that is what we are actively developing going forward.
@murgatroid99 Do you have any clear way of delineating like a "grpc-node vs grpc-js", maybe something clear to add in the readme? My understanding is that grpc-node uses native addons and grpc-js doesn't. Whether one is better than the other, or one is more actively maintained or future-facing, all of this is a mystersy IMHO. Right now, for example, the grpc website (https://grpc.io/docs/languages/node/basics/) doesn't make any distinction between the two. It particularly is not clear to me what exactly it means to use one or the other, in terms of:
1) compiling with protoc, providing a certain plugin? Is there a different plugin for grpc-node and grpc-js? 2) using grpc-js, is this supposed to be client-side like grpc-web, or is it truly as simple as node-addons vs. not node-addons?
Right now the best information about that might be in this blog post I wrote about the 1.0 release of grpc-js. Note that that blog post was published in late April 2020, so where it says "we plan to deprecate it in a year", that is referring to April 2021.
Regarding your specific questions:
Problem description
After about 5 minutes of installation, a dump of errors is given.
Reproduction steps
npm i -g grpc
Environment
Additional context
Log attached (from C:\Users\bugma\scoop\persist\nodejs\cache_logs\2020-11-18T09_28_56_595Z-debug.log)