Microgateway installation confusion Windows 10

robinm
Participant IV

I am trying to setup the microgateway on a new machine - Windows 10 Pro on 64-bit

Initially I tried installed the latest NodeJS (12) and edgemicro (3.1)

Try 1: npm install edgemicro -g failed requiring me to install Python.

Okay ... Install Python

Try 2: npm install fails requiring me to install Visual Studio developer ??!

This doesn't seem correct ?
It is the node-gyp\bin\node-gyp.js that fails.

gyp ERR! find VS
**************************************************************
gyp ERR! find VS You need to install the latest version of Visual Studio
gyp ERR! find VS including the "Desktop development with C++" workload.
gyp ERR! find VS For more information consult the documentation at:
gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
gyp ERR! find VS
**************************************************************

Uninstall and revert to lower versions, trying Node 10 and edgemicro 3.0.10

No joy, same issue.

I thought to install the old version (2.5) and then upgrade, but Node 8 is end-of-life already and hard to find.

What gives ... I see no mention of these requirements in the Apigee doc ....apart from mentioning which Node versions are required. Is this a new eventuality or an assumption about a vanilla Windows 10 workstation ?
  • Is there, perhaps, another way to get the C++ components installed ?
  • Do we resort to rather download another opsys image to run via Docker ?
0 3 424
3 REPLIES 3

robinm
Participant IV

Eish ... I tried installing Node12 via their .MSI installer and checked a box about installing the requisite tools.
Sadly it died midway after installing a whole raft of things.
Python 2 installed okay (even tho 3.8 was present), along with some Windows KB installs that either were skipped or worked, but then Chocolately failed due to some deprecated "buffer()" method called.

How to mess up a machine.

Hi Robin Martin,

Please go through below steps and you are able to install it on windows 10

https://docs.apigee.com/api-platform/microgateway/2.5.x/setting-and-configuring-edge-microgateway.ht...

Also, regarding the python error please check below the post and run the comment with Admin privilage

npm install --global --production windows-build-tools @Robin Martin

Regards,

-Bechar

Thanks a lot, thanks to you I was able to install it on my Windows 10.

I used the steps given above.