ibm-functions / shell

An Electron-based development tool for IBM Cloud Functions and Composer.
Apache License 2.0
60 stars 16 forks source link

Can't install on Windows #1033

Open jeffmaury opened 6 years ago

jeffmaury commented 6 years ago

I tried to install on Windows and got the following error:

> @ibm-functions/shell@1.6.1 postinstall C:\Users\JeffMAURY\AppData\Roaming\npm\node_modules\@ibm-functions\shell
> node bin/install.js

Downloading IBM-Cloud-Functions.zip
[============================================>] 100.0% of 77.87 MB (824.06 kB/s)
Extracting...{ Error: EISDIR: illegal operation on a directory, open 'C:\Users\JeffMAURY\AppData\Roaming\npm\node_modules\@ibm-functions\shell\dist\IBM Cloud Shell-win32-x64'
    at Error (native)
  errno: -4068,
  code: 'EISDIR',
  syscall: 'open',
  path: 'C:\\Users\\JeffMAURY\\AppData\\Roaming\\npm\\node_modules\\@ibm-functions\\shell\\dist\\IBM Cloud Shell-win32-x64' }
npm ERR! Windows_NT 10.0.17134
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "@ibm-functions/shell" "--unsafe-perm=true"
npm ERR! node v6.11.3
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
starpit commented 6 years ago

thanks for the bug report; until we resolve this issue, you could try downloading a platform release directly from here: https://github.com/ibm-functions/shell/releases

nasroht commented 6 years ago

You need to install using: npm install -g @ibm-functions/shell@1.4.6 this is the release before it broke. Using fsh version -u to perform upgrade is also broken currently

whitetigle commented 6 years ago

[edit] Same problem here. Any news? Thanks! Binaries work. Thanks!

starpit commented 6 years ago

awesome to hear. if all goes well, we should have a major update coming in the near future. thanks for the feedback!