Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant create new bots, Error calling npm to fetch template. #9775

Open
6 tasks
EnzoBasile opened this issue Oct 8, 2024 · 0 comments
Open
6 tasks

Cant create new bots, Error calling npm to fetch template. #9775

EnzoBasile opened this issue Oct 8, 2024 · 0 comments
Labels
Needs-triage A new issue that require triage Type: Bug Something isn't working

Comments

@EnzoBasile
Copy link

When creating a new bot, I receive the next error:
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\RY36863\AppData\Roaming\BotFrameworkComposer\.yo-repository --loglevel error --no-optional @microsoft/generator-bot-empty@*

At first the software was not detecting nodejs, so after running again the installation the installation error was not prompted again. Now I am facing some error with the npm and can not figure out why.

Version

Release: 2.1.2
SDK 4.12.0

Browser

  • Electron distribution
  • [ x ] Chrome
  • Safari
  • Firefox
  • Edge

OS

  • macOS
  • [ x ] Windows
  • Ubuntu

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Create New'
  2. Click on 'Empty Bot'
  3. Click on 'create', using the default options: Name "empty", Runtime type "Azure web App", Location "anywhere"
  4. Note the windowd of "downloading template"
  5. See error

Expected behavior

Bot created

Screenshots

image

@EnzoBasile EnzoBasile added Needs-triage A new issue that require triage Type: Bug Something isn't working labels Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-triage A new issue that require triage Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant