Vscode-extension-for-zowe: Cannot create a new profile with the "plus" button

Created on 19 Dec 2019  路  11Comments  路  Source: zowe/vscode-extension-for-zowe

  1. Install Zowe Extension in VSC on clean Mac (no Zowe CLI installed)
  2. Click on the '+' button to create a new profile
  3. error message "command 'zowe.addSession' not found"
  4. the profile cannot be created using the UI
bug

Most helpful comment

Nodejs fixed the problem! Thanks

All 11 comments

VaseksMac2

I am not experiencing the exact error but hopefully fix from #432 will solve this.

@zimlu02 could you let us know if this is still an issue on v1.1

I can still reproduce it with v1.1

I can still reproduce it with v1.1

@zimlu02 Please install NodeJS then try again.

I am working with Susie Robson on usability testing of the Zowe Extension. Trying to get her up to speed and she has the same problem as @zimlu02. I looked in her Finder and there is no .zowe folder. I went ahead and renamed my .zowe folder and tried to restart VS Code. I get different errors but I'm not able to create a connection / profile.

Here is the error messages I get when trying to click the + icons.
image

Here is what happens to me when I try to start VS Code without a .zowe folder. I also went into the Zowe Configuration settings file and removed history of searches, profiles, etc. I get the same kind of errors.
image

image

@jelaplan ok. this is a different issue. This is what i would suggest.

  1. Make sure that you have NodeJS Installed. To verify, open the terminal and type node -v and npm -v
  2. Delete the .zowe folder you manually created.
  3. Close VSCode
  4. Open VSCode. If Zowe Explorer is installed the _.zowe folder will be created automatically._
  5. Wait until the _No Default zosmf profile_ message appears or the word Favorites appears in the panels before clicking anything. Please note that VSCode is initializing and if you start clicking the error message _command zowe.something not found_ will appear. If this happens then you will experience errors because the extension did not initialize correctly.

Nodejs fixed the problem! Thanks

I can have Susie install NodeJS. I was under the impression that new users would need only install VS Code and the Zowe Explorer extension. That that would bring Node with it. So, I'll work with Susie this afternoon to install Node and I'll report back.

@jellypuno that worked. We installed Node on Susie's machine and all is well.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zFernand0 picture zFernand0  路  3Comments

ghost picture ghost  路  4Comments

jelaplan picture jelaplan  路  4Comments

travatine picture travatine  路  4Comments

fritzc1 picture fritzc1  路  3Comments