Developer-DAO / create-dao

MIT License
93 stars 15 forks source link

`npx create-dao` doesn't work on Windows #12

Closed Dhaiwat10 closed 2 years ago

Dhaiwat10 commented 2 years ago

When trying to run the CLI from Windows, I see this error:

$ npx create-dao
events.js:377
      throw er; // Unhandled 'error' event
      ^

Error: spawn create-next-app ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:274:19)
    at onErrorNT (internal/child_process.js:469: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:280:12)
    at onErrorNT (internal/child_process.js:469:16)
    at processTicksAndRejections (internal/process/task_queues.js:82:21) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'spawn create-next-app',
  path: 'create-next-app',
  spawnargs: [
    '--example=https://github.com/Developer-DAO/create-dao/tree/main/template'
  ]
}

OS version: Windows 11 Terminal: Git-bash Node version: 14.18.1

miralsuthar commented 2 years ago

image I am also getting the same error in windows.

AlmostEfficient commented 2 years ago

Getting the same on Windows 10 build 19043, NodeJs version 16.

Dhaiwat10 commented 2 years ago

Closing via #17