Cannot Start Bot
See original GitHub issueDescribe the bug
Cannot start bot. It fails with the following message:
{"stack":"Error: spawn C:\\Windows\\system32\\cmd.exe ENOENT\n at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)\n at onErrorNT (internal/child_process.js:456:16)\n at processTicksAndRejections (internal/process/task_queues.js:80:21)","message":"spawn C:\\Windows\\system32\\cmd.exe ENOENT","errno":"ENOENT","code":"ENOENT","syscall":"spawn C:\\Windows\\system32\\cmd.exe","path":"C:\\Windows\\system32\\cmd.exe","spawnargs":["/d","/s","/c","\"dotnet user-secrets init --project azurewebapp\""],"cmd":"dotnet user-secrets init --project azurewebapp","stdout":"","stderr":""}
Version
Browser
- Electron distribution
- Chrome
- Safari
- Firefox
- Edge
OS
- macOS
- Windows
- Ubuntu
To Reproduce
Steps to reproduce the behavior:
1.Click on Start Bot Button 2. Wait for it to fail
Expected behavior
The bot starts
Screenshots
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Cannot find module @microsoft/generator-bot-adaptive · Issue ...
Describe the bug I recently installed bot composer, every time I created project ... Cannot start new bot from template: Cannot find module...
Read more >Troubleshoot bot configuration issues - Bot Service
Bot doesn't work in Web Chat · Open the Overview pane. · Copy the Messaging endpoint and paste it into your browser.
Read more >Discord Bot won't start due to logic error - Stack Overflow
I'm making this bot (i'm fairly new to javascript) and for no reason, it doesn't say anything after i type node . and...
Read more >Cannot start bot - ClashFarmer
I am having issues starting the bot. I now went back to version 3.7 to run Android version 4.4 on a new instance...
Read more >Discord Bot won't start - Code Help - Glitch Support
Just up until now my bot was working fine, but it suddenly stopped to start (everything loads up as it should, but the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I used the “Get a new copy of the runtime code” functionality. Had to rerun the schemas, but it apparently is working again. What I saw is that before the update, my Runtime code location was runtime but when I got the new copy it was automatically set for …/runtime. So I guess that was the issue.
I think this can be closed. Thanks for all your help.
Adding more details, it happens when using a custom runtime. When going back to the default runtime this does not happen.