Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Windows unhandled error event

Open
#19 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
cli, tooling

Research direction

Start in index.js around line 100 and reproduce the Windows command shown in the report. Trace the npm init child-process failure and verify that the command completes without the unhandled ENOENT error on Windows.

Written by the indexing model from the issue text.

Description

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

Dominant language
JavaScript
Stars
32
Forks
4
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from finnp/create-module

All issues in finnp/create-module

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.