Dot net build error when creating bot
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
Additional context
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?
Same issues.
Debug:
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.
had the same issue as OP, was fixed by installing latest version of nodejs (v22)