evanw / evanw/node-source-map-support
Problems with Node 12 on Windows
- 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.