ibm-functions / shell

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

activation list broken? #108

Closed rabbah closed 6 years ago

rabbah commented 6 years ago

i have more than the one activation shown in my space:

screen shot 2017-12-07 at 12 23 18 pm

the cli shows:

screen shot 2017-12-07 at 12 23 24 pm
starpit commented 6 years ago

are there any errors shown in the javascript console?

rabbah commented 6 years ago
index.html:200 Error: Cannot find module 'expand-home-dir'
    at Module._resolveFilename (module.js:470)
    at Function.Module._resolveFilename (/Users/rabbah/.node/lib/node_modules/@ibm-functions/shell/dist/IBM Cloud Functions Shell-darwin-x64…:35)
    at Function.Module._load (module.js:418)
    at Module.require (module.js:498)
    at require (internal/module.js:20)
    at bootstrap (index.html:198)
    at onload (index.html:19)

seeing this when i reload the shell.

rabbah commented 6 years ago

And this after $ ls

/Users/rabbah/.node/lib/node_modules/@ibm-functions/shell/dist/IBM Cloud Functions Shell-darwin-x64…:159 Uncaught (in promise) TypeError: Cannot read property 'find' of undefined
    at activations.forEach (/Users/rabbah/.node/lib/node_modules/@ibm-functions/shell/dist/IBM Cloud Functions Shell-darwin-x64/IBM Cloud Functions Shell.app/Contents/Resources/app.asar/content/js/views/list/activations.js:159:40)
    at Array.forEach (native)
    at fetch.then.then.activations (/Users/rabbah/.node/lib/node_modules/@ibm-functions/shell/dist/IBM Cloud Functions Shell-darwin-x64/IBM Cloud Functions Shell.app/Contents/Resources/app.asar/content/js/views/list/activations.js:130:25)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:109:7)
starpit commented 6 years ago

should be fixed by #114