'C:\Program' is not recognized as an internal or external command

I’m running into an error when starting my dev server.
npm run dev
mastra dev
◐ Preparing development environment... ✓ Initial bundle complete ◇ Starting Mastra dev server... 'C:\Program' is not recognized as an internal or external command, operable program or batch file. My package.json dependencies look like this: "dependencies": { "@ai-sdk/openai": "^1.3.24", "@browserbasehq/stagehand": "^2.5.0", "@mastra/core": "^0.19.1", "@mastra/evals": "^0.13.9", "@mastra/libsql": "^0.15.0", "@mastra/loggers": "^0.10.14", "@mastra/memory": "^0.15.4", "@mastra/pg": "^0.17.0", "@mendable/firecrawl-js": "^4.3.7", "@types/ioredis": "^5.0.0", "@types/pg": "^8.15.5", "install": "^0.13.0", "json-stable-stringify": "^1.3.0", "mastra": "latest", "openai": "^6.0.1", "pg": "^8.16.3", "redis": "^5.8.2", "xxhashjs": "^0.2.2", "zod": "^3.25.76" }, "devDependencies": { "@types/node": "^24.6.2", "mastra": "^0.13.4", "typescript": "^5.9.3" } Any idea how to fix this?
8 Replies
Mastra Triager
GitHub
[DISCORD:1423274516573847583] 'C:\Program' is not recognized as an ...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1423274516573847583 I’m running into an error when starting my dev server. npm run dev mastra dev ◐ Prepar...
_roamin_
_roamin_3w ago
Hey @Adnan A. ! Is that happening with a fresh mastra project?
Adnan A.
Adnan A.OP3w ago
Hey @Romain , no with an exist project
_roamin_
_roamin_3w ago
I see, could you share a small repro example? https://stackoverflow.com/help/minimal-reproducible-example
Stack Overflow
How to create a Minimal, Reproducible Example - Help Center
Stack Overflow | The World’s Largest Online Community for Developers
Unknown User
Unknown User3w ago
Message Not Public
Sign In & Join Server To View
_roamin_
_roamin_3w ago
Hey @Adnan A. ! We just released a new version, could you try updating to "latest" and let me know if you're still getting the error?
Adnan A.
Adnan A.OP3w ago
Hey @Romain , yes the issue is fixed. Sorry for the late reply, I was busy.
_roamin_
_roamin_3w ago
No worries, thanks for trying ou the fix!!!

Did you find this page helpful?