BotFramework-Composer
BotFramework-Composer copied to clipboard
Error Calling npm to fetch template.
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
- [ X] Chrome
OS
- [ X] Windows
To Reproduce
Steps to reproduce the behavior:
- Go to Bot Framework Composer Home Page
- Click on 'Create a new bot to get started'
- Scroll down to 'Core Assistant Bot' and select
- Click Next
- Update Project Name
- Click Download Template
- 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
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?
I'm very new to this and don't know what you're asking. How can I confirm is it is configured?
@thegreenguy4201 No worries.
Hope this helps:
Just wanted to see if yours matches what is in my screenshot above.
Yes. Mine matches your screenshot
Please refer to the issue #9745
Closing as likely resolved in nightly. If you are still having issues, please comment and we can reopen/continue.