cabbagejs / cabbage

A CLI for building conventional web applications with Broccoli
MIT License
5 stars 0 forks source link

Permission denied with 'new' command #30

Closed mattcodez closed 9 years ago

mattcodez commented 9 years ago

Trying a simple cabbage new command on a Windows 7 box and getting this error:

C:\Users\abc123\Documents\uniform\UniServer\www\my-app>cabbage new my-project
Cloning a new cabbage project into 'my-project'
Error cloning blueprint project. Verify your network connection and try again.
Error: Command failed: Cloning into 'my-project'...
Warning: Permanently added the RSA host key for IP address '192.30.252.130' to t
he list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

  at ChildProcess.exithandler (child_process.js:648:15)
  at ChildProcess.emit (events.js:98:17)
  at maybeClose (child_process.js:756:16)
  at Socket.<anonymous> (child_process.js:969:11)
  at Socket.emit (events.js:95:17)
  at Pipe.close (net.js:465:12)
searls commented 9 years ago

Yeah turns out I had the private SSH clone url

searls commented 9 years ago

one second

searls commented 9 years ago

Try npm i -g cabbage-cli and try again, just fixed in 0.0.5

mattcodez commented 9 years ago

Ah much better, thanks!