evanw / evanw/node-source-map-support

Problems with Node 12 on Windows

Open
#289 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.2k
Forks
223
PR merge metrics
No merged PRs in 30d

Description

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.`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.