Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development on Windows #646

Open
srmagura opened this issue Sep 8, 2021 · 0 comments
Open

Development on Windows #646

srmagura opened this issue Sep 8, 2021 · 0 comments

Comments

@srmagura
Copy link
Contributor

srmagura commented Sep 8, 2021

Trying to run yarn build on Windows fails when trying to spawn /bin/bash (even when running from Git Bash).

$ yarn build
yarn run v1.22.11
$ sucrase-node script/build.ts
Installing benchmark dependencies
> yarn
events.js:377
      throw er; // Unhandled 'error' event
      ^

Error: spawn /bin/bash ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
    at onErrorNT (internal/child_process.js:467:16)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)
Emitted 'error' event on ChildProcess instance at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
    at onErrorNT (internal/child_process.js:467:16)
    at processTicksAndRejections (internal/process/task_queues.js:82:21) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'spawn /bin/bash',
  path: '/bin/bash',
  spawnargs: [ '-c', 'yarn' ]
}

Just wondering if supporting development on Windows is a goal or non-goal for the project. I looked in the scripts directory and there seemed to be a lot of Unix-specific stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant