shell icon indicating copy to clipboard operation
shell copied to clipboard

Can't install on Windows

Open jeffmaury opened this issue 7 years ago • 4 comments

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

> @ibm-functions/[email protected] 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

jeffmaury avatar Jun 28 '18 20:06 jeffmaury

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

starpit avatar Jun 29 '18 13:06 starpit

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

nasroht avatar Jul 18 '18 19:07 nasroht

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

whitetigle avatar Oct 31 '18 07:10 whitetigle

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

starpit avatar Nov 13 '18 03:11 starpit