BotFramework-Composer icon indicating copy to clipboard operation
BotFramework-Composer copied to clipboard

Dot net build error when creating bot

Open VantageTH opened this issue 1 year ago • 4 comments

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

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

OS

  • [ ] macOS
  • [x] Windows
  • [ ] Ubuntu

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

VantageTH avatar Oct 17 '24 11:10 VantageTH

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?

geo-msft avatar Oct 23 '24 14:10 geo-msft

Same issues. Debug: Image

dgcas2024 avatar Nov 07 '24 14:11 dgcas2024

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.

haack42 avatar Nov 21 '24 15:11 haack42

had the same issue as OP, was fixed by installing latest version of nodejs (v22)

chumtoadafuq avatar Dec 15 '24 20:12 chumtoadafuq