-
Notifications
You must be signed in to change notification settings - Fork 846
Labels
bugSomething isn't workingSomething isn't working
Description
Issue: Build Fails on Windows Due to Unix Shell Commands
Description
The build script in packages/core fails on Windows with the following error:
The syntax of the command is incorrect.
This happens because the build scripts use Unix shell commands (rm -rf, mkdir -p, cp) which are not supported in Windows Command Prompt or PowerShell.
Affected scripts in packages/core/package.json:
"move:python": "mkdir -p dist/src/python && cp src/python/*.py dist/src/python",
"move:rb": "mkdir -p dist/src/ruby && cp src/ruby/*.rb dist/src/ruby",
"build": "rm -rf dist && tsc && npm run move:python && npm run move:rb && npm run move:steps"Steps to Reproduce
- Clone the repo on a Windows machine.
- install all the dependencies
- Run the dev build:
pnpm run dev- The build fails with the above error.
Expected Behavior
Build should work cross-platform, including Windows, macOS, and Linux.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working