create-module icon indicating copy to clipboard operation
create-module copied to clipboard

Windows unhandled error event

Open ArtskydJ opened this issue 10 years ago • 0 comments

C:\Users\Michael\Github>create-module ftp-editor
Your GitHub username: ArtskydJ
Your GitHub password: ✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔

Creating GitHub repo..
Created repo ArtskydJ/ftp-editor
Creating directory C:\Users\Michael\Github\ftp-editor
Initialize git..
Create readme.md...
Create .gitignore...
events.js:85
      throw er; // Unhandled 'error' event
            ^
Error: spawn npm ENOENT
    at exports._errnoException (util.js:746:11)
    at Process.ChildProcess._handle.onexit (child_process.js:1053:32)
    at child_process.js:1144:20
    at process._tickCallback (node.js:355:11)

C:\Users\Michael\Github>

Looks like it is an error with npm init. https://github.com/finnp/create-module/blob/master/index.js#L100

ArtskydJ avatar Sep 03 '15 12:09 ArtskydJ