Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

requiring node core modules fails

Aperta
#72 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript, node.js
Ambito
tooling

Direzione di ricerca

Inizia riproducendo i fallimenti per require('http') e require('events') e traccia il percorso di bundling che segnala spawn ENOENT. Verifica quale gestione esiste per i moduli core di Node; il lavoro è completato quando entrambi gli esempi vengono bundlati senza l'errore segnalato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

This

var http = require('http')

gives

Bundling error: 

---FLAGRANT SYSTEM ERROR---

--- error #0: ---


(logs uuid: 0daef330-c86c-11e4-9de9-59ad9188bc13 )

Error: "spawn ENOENT"

code: ENOENT
errno: ENOENT
syscall: spawn
dirPath: /tmp/http115212-24815-1xspa4h


------

This is probably an issue with the package, and not browserify-cdn itself.
If you feel differently, feel free to file a bug report at:

    https://github.com/jesusabdullah/browserify-cdn/issues

Include the ENTIRETY of the contents of this message, and he can
try to help you out.

Have a nice day!

and this

var events = require('events')

gives

Bundling error: 

---FLAGRANT SYSTEM ERROR---

--- error #0: ---


(logs uuid: 3b55a810-c86c-11e4-9de9-59ad9188bc13 )

Error: "spawn ENOENT"

code: ENOENT
errno: ENOENT
syscall: spawn
dirPath: /tmp/events115212-24815-qtxstm


------

This is probably an issue with the package, and not browserify-cdn itself.
If you feel differently, feel free to file a bug report at:

    https://github.com/jesusabdullah/browserify-cdn/issues

Include the ENTIRETY of the contents of this message, and he can
try to help you out.

Have a nice day!
Lingua principale
JavaScript
Stelle
389
Fork
73
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di max-mapper/requirebin

Tutte le issue di max-mapper/requirebin

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.