Lombiq / NodeJs-Extensions

Utilities and extensions for Node.js, used in ASP.NET (Core) MVC and Orchard (Core) CMS development.
BSD 3-Clause "New" or "Revised" License
7 stars 2 forks source link

npm version dependency missing from the documentation (OSOE-827) #96

Open dministro opened 4 months ago

dministro commented 4 months ago

https://github.com/Lombiq/NodeJs-Extensions/blob/ad81728f1b26265b7179e43cc39e7ceb961dedd9/Lombiq.NodeJs.Extensions/scripts/get-project-directory.js#L8

The npm_config_local_prefix environment variable (introduced in npm v7.22.0, changelog) is used, but this version dependency is not mentioned in the documentation.

Jira issue

sarahelsaig commented 4 months ago

If the above linked line is falsey, it should also throw an exception explaining the problem because people tend to not read documentations.