Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
September 2016
ryancox@us.ibm.com
The API Connect developer toolkit install, as described in the published install instructions below, failed
on three Windows machines for me. These are the steps that finally worked to get past the various issues
on these Windows versions:
These instructions worked for my installation of the developer toolkit for API Connect v5.0.4.0.
Getting Started
https://developer.ibm.com/apiconnect/getting-started/
My Install Steps
3) install Node.js
download -> https://nodejs.org/en/download/
version: node-v4.6.0-x64.msi
install home: C:\app\nodejs
6) open command prompt with admin privileges (right click > Run as administrator) and run all of the
following npm commands from here.
7) changed the prefix path for where node installs its node-modules.
(this shortens the default path is C:\Users\IBM_ADMIN\AppData\Roaming\npm which caused the api
connect install to fail because of windows path being too long - over 256 characters)
npm config set prefix=C:\app\nodejs\p
(this path is arbitrary; just needs to be something short)
8) add the new node prefix directory to the system PATH environment variable
12) all apic commands must be run from the command prompt with admin privileges. if you don't do this, the
micro gateway will not start up when running the node apps locally.
this is mentioned on this page ->
http://www.ibm.com/support/knowledgecenter/SSMNED_5.0.0/com.ibm.apic.toolkit.doc/tapim_cli_inst
all.html
at the bottom for "Windows": If you encounter permissions errors running commands, and you installed
the Toolkit using an account with administrator privileges, then you need to run CLI commands with
administrator privileges as well.