microsoft / BotFramework-Composer

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

Dot net build error when creating bot #9777

Open VantageTH opened 1 month ago

VantageTH commented 1 month ago

Describe the bug

Unable to create an empty bot.

I get the following error

Command failed: dotnet build dataquerybot.csproj

Version

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:

Create new bot select empty not provide name provide location select azure web app as runtime type

Expected behavior

creation of empty bot

Screenshots

Image

Additional context

geo-msft commented 1 month ago

Hi, Do you have node installed?

If you open a cmd and type node -v, does it print the version? Is the node added to the System path variable?

Can you start composer in Debug mode with these steps:

Open an admin command prompt and set the following environment variables for enabling the debug logs:

C:\Windows\System32>set ELECTRON_ENV=development C:\Windows\System32>set DEBUG=composer*

Run the bot framework composer, using below command

C:\Windows\System32>"C:\Program Files\Bot Framework Composer\Bot Framework Composer.exe" --debug // replace this part C:\Program Files\Bot Framework Composer with the actual path to your composer location on the machine.

and then reproduce the error?

Then share the output of the debug?

dgcas2024 commented 2 weeks ago

Same issues. Debug: Image

haack42 commented 5 days ago

I have the same issue and yes I have node installed: $ node -v v20.14.0

I did install the software just for my user and not for everyone.

Found same issue as in the previous comment to happen until I installed the dotnet 3.1 SDK - then the error was gone.