microsoft / BotFramework-Composer

Dialog creation and management for Microsoft Bot Framework Applications
https://docs.microsoft.com/en-us/composer/
MIT License
860 stars 366 forks source link

Error Calling npm to fetch template. #9734

Open thegreenguy4201 opened 2 months ago

thegreenguy4201 commented 2 months ago

Receiving an error when I try to create a Core Assistant Bot saying "Error calling npm to fetch template......." I've installed npm and node.

Error calling npm to fetch template. Please ensure that node and npm are installed and available on your system. Full error message: Command failed with exit code 1: npm install -g --prefix C:\Users\mwmin\AppData\Roaming\BotFrameworkComposer.yo-repository --loglevel error --no-optional @microsoft/generator-bot-core-assistant@*

Version: 2.1.2 Electron: 8.2.4 Chrome: 80.0.3987.165 NodeJS: 12.13.0 V8: 8.0.426.27-electron.0

Browser

OS

To Reproduce

Steps to reproduce the behavior:

  1. Go to Bot Framework Composer Home Page
  2. Click on 'Create a new bot to get started'
  3. Scroll down to 'Core Assistant Bot' and select
  4. Click Next
  5. Update Project Name
  6. Click Download Template
  7. Error Reads as Follows: Error calling npm to fetch template. Please ensure that node and npm are installed and available on your system. Full error message: Command failed with exit code 1: npm install -g --prefix C:\Users\mwmin\AppData\Roaming\BotFrameworkComposer.yo-repository --loglevel error --no-optional @microsoft/generator-bot-core-assistant@*

Expected behavior - Download Core Assistant Bot Template

Screenshots

Additional context

dmvtech commented 2 months ago

Under Composer's main settings; for Template Feed Url, do you have https://registry.npmjs.org/-/v1/search?text=generator+keywords:bf-template+scope:microsoft configured?

thegreenguy4201 commented 2 months ago

I'm very new to this and don't know what you're asking. How can I confirm is it is configured?

dmvtech commented 2 months ago

@thegreenguy4201 No worries.

Hope this helps: image

Just wanted to see if yours matches what is in my screenshot above.

thegreenguy4201 commented 2 months ago

Yes. Mine matches your screenshot

OEvgeny commented 1 month ago

Please refer to the issue #9745