strongloop / microgateway

IBM API Connect Microgateway framework, built on Node.js & Nginx
https://developer.ibm.com/apiconnect
Other
1.19k stars 183 forks source link

Can't install on Windows 7 #114

Open bengalaviz opened 6 years ago

bengalaviz commented 6 years ago

I've been trying to install apiconnect. Getting the error

npm verb stack Error: ENOENT: no such file or directory, open 'D:\Development\npm\node_modules\.staging\microgateway-b06b2971\test\definitions\assembly\climbingweather-missingbasepath:2.0.0.yaml'

When the package is sent to my .staging folder, the ":" in the file name is changed to a "_". So the apiconnect package never installs because Windows does not allow a ":" in the file name. Any suggestions on how to fix this?


npm verb cli [ 'C:\\Program Files\\nodejs\\node.exe',
npm verb cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli   '-verbose',
npm verb cli   'install',
npm verb cli   '-g',
npm verb cli   'apiconnect' ]
npm info using npm@3.10.10
npm info using node@v6.14.3```
backtosource commented 4 years ago

Same problem here:

error: invalid path 'test/definitions/assembly/climbingweather-missingbasepath:2.0.0.yaml' fatal: unable to checkout working tree

A colon ":" is not a valid character on Windows filesystems. Please fix this. Node.js is not only for Linux.