evanw / evanw/node-source-map-support
Problems with Node 12 on Windows
- Lingua principale
- JavaScript
- Stelle
- 2.2k
- Fork
- 223
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Somethere in code of node-source-map-support there is a check like
`(env.SOME_VAR === undefinded)`
But in windows there is no global variable `env`, so this code falls out with an error.
Also, Windows 7 is not supported by the latest versions of NodeJS (14 and higher), so there is no way to update the Node.
P.S. Perhaps the problem is in the code of some kind of dependency (since I could not find such a code in the sources of this repository), but the error is returned by source-map-support = (
What to fix: Change everywhere in the code `env.` on `process.env.`
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Riproduci il fallimento con source-map-support su Windows 7 usando Node 12, quindi verifica se l’espressione `env.SOME_VAR` segnalata proviene da questo repository o da una dipendenza. Conferma che la ricerca che fallisce utilizzi l’accesso corretto all’ambiente e verifica che l’errore non si verifichi più nella configurazione indicata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, node.js
- Ambito
- tooling
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100