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

Windows support #265

Open
aminya opened this issue Mar 15, 2020 · 0 comments
Open

Windows support #265

aminya opened this issue Mar 15, 2020 · 0 comments

Comments

@aminya
Copy link

aminya commented Mar 15, 2020

  • Code doesn't run inside powershell
PS C:\Users\yahyaaba\Documents\GitHub\atom-julia-client\lib_src> bulk-decaffeinate check
decaffeinate binary not found on the PATH or in node_modules.
Run "npm install -g decaffeinate"? [Y/n]
Installing decaffeinate globally...
events.js:187
     throw er; // Unhandled 'error' event
     ^

Error: spawn /bin/sh ENOENT
   at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
   at onErrorNT (internal/child_process.js:456:16)
   at processTicksAndRejections (internal/process/task_queues.js:80:21)
Emitted 'error' event on ChildProcess instance at:
   at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)
   at onErrorNT (internal/child_process.js:456:16)
   at processTicksAndRejections (internal/process/task_queues.js:80:21) {
 errno: -4058,
 code: 'ENOENT',
 syscall: 'spawn /bin/sh',
 path: '/bin/sh',
 spawnargs: [ '-c', 'npm install -g decaffeinate' ]
}

Although decaffeniate is installed.

  • Using bash, JScodeshift fails
Searching for files that may need to have updated imports... (8 workers)
55/55
Finished in 0 seconds (Time: 2020-03-15T04:05:57-05:00)
Fixing any imports across the whole codebase...
events.js:187
      throw er; // Unhandled 'error' event
      ^

Error: spawn /bin/sh ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
    at onErrorNT (internal/child_process.js:456:16)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
Emitted 'error' event on ChildProcess instance at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)
    at onErrorNT (internal/child_process.js:456:16)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'spawn /bin/sh',
  path: '/bin/sh',
  spawnargs: [
    '-c',
    '      jscodeshift --parser flow -t 
  • Using bash, ESLint fails
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