Skip to content

[BUG] Broken link in npm v7 series beta re. $npm_package_* environment variables (now gone) #2452

@dandv

Description

@dandv

Apologies if this is the wrong repo; I don't know where to file this.

I was researching why after upgrading to npm 7 my $npm_package environment variables were blank, and found this blog post. It says,

RFC 21 Environment no longer includes npm_package_* fields

Three issues,

  1. That RFC21 link has moved to implemented
  2. For others who land on this during the same kind of troubleshooting, it would really help to specify what the recommended alternative is.
  3. https://docs.npmjs.com/cli/v7/using-npm/scripts#packagejson-vars still mentions the v6 behavior.

Metadata

Metadata

Assignees

Labels

Documentationdocumentation related issueRelease 7.xwork is associated with a specific npm 7 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions