Description
I kept getting the Error: spawn start ENOENT every time i tried to test the agent in dev mode using "agentcore dev" command line.
I managed to fix it, more details on "Additional Context"
Steps to Reproduce
agentcore create
cd {agentcore folder}
agentcore dev
Expected Behavior
To open the HTML on the browser, so i can chat with the agent locally
Actual Behavior
Giving the error "Error: spawn start ENOENT" and finishing the test
CLI Version
0.9.1
Operating System
Windows
Additional Context
I managed to fix it by going into C:\Users{myuser}\AppData\Roaming\npm\node_modules@aws\agentcore\dist\cli\index.mjs
On the line 1053 and the code tried to use the code spawn("start", [url])
I corrected it replacing the code with [spawn("cmd", ["/c", "start", url])]
Description
I kept getting the Error: spawn start ENOENT every time i tried to test the agent in dev mode using "agentcore dev" command line.
I managed to fix it, more details on "Additional Context"
Steps to Reproduce
agentcore createcd {agentcore folder}agentcore devExpected Behavior
To open the HTML on the browser, so i can chat with the agent locally
Actual Behavior
Giving the error "Error: spawn start ENOENT" and finishing the test
CLI Version
0.9.1
Operating System
Windows
Additional Context
I managed to fix it by going into C:\Users{myuser}\AppData\Roaming\npm\node_modules@aws\agentcore\dist\cli\index.mjs
On the line 1053 and the code tried to use the code
spawn("start", [url])I corrected it replacing the code with
[spawn("cmd", ["/c", "start", url])]