Skip to content

.npmrc environment variable syntax error #1623

@safaalai

Description

@safaalai

Expected Behavior

In How To ==> Install Private Packages ==> Custom Registry Endpoints, the Environment
variables TOKEN_FOR_NPM or TOKEN_FOR_GITHUB should expand correctly.

Actual Behavior

Environment variables do not expand.

Section that requires update

https://developers.cloudflare.com/pages/how-to/npm-private-registry#custom-registry-endpoints.

Additional information

The syntax for the environment variables is wrong.
Update the environment variables from $TOKEN_FOR_NPM and $TOKEN_FOR_GITHUB to
${TOKEN_FOR_NPM} and ${TOKEN_FOR_GITHUB} .... notice the addition of squiggly brackets.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions