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

Command failed with exit code 1 #9698

Closed SuvithaNair closed 3 months ago

SuvithaNair commented 5 months ago

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 root -g --prefix C:\Users\0045ZJ744\AppData\Roaming\BotFrameworkComposer.yo-repository --loglevel error 'npm' is not recognized as an internal or external command, operable program or batch file.

OEvgeny commented 5 months ago

@SuvithaNair please make sure you have all prerequisites installed. For composer Node.js bots they match the Bot Framework SDK: https://learn.microsoft.com/en-us/azure/bot-service/bot-service-quickstart-create-bot?view=azure-bot-service-4.0&tabs=javascript%2Cvs#prerequisites

Please note that Node.js support is experimental. Best use latest Composer Nightly release

dmvtech commented 3 months ago

Closing due to lack of response.