[BUG] getting a Failed to read _auth from ~/.npmrc
with Node v20
#881
Labels
bug
Something isn't working
Failed to read _auth from ~/.npmrc
with Node v20
#881
🐛 Bug Report:
Describe the bug
When running
openapi-fetch
or other openapi commands, I get the following error:My
.npmrc
file has the newer_auth
syntax, which is how it is configured on NodeJS v20:Feels like openapi-generator is not supporting the newer
_auth
syntax for NodeJS v20?If I run it with NodeJS v16 and the old
_auth=<auth_token>
syntax, works as expectedSteps to Reproduce
this is a redacted screenshot of my
.npmrc
filethis is a redacted screenshot of the
openapi-fetch
execution through annpm
scriptExpected behavior
when running openapi commands like
openapi-fetch
via npm, it should be getting the_auth
information on.npmrc
config file, which is valid syntax for NodeJS v20Screenshots
Submitted on Steps to reproduce
Operation System (please complete the following information):
Package System (please complete the following information):
The text was updated successfully, but these errors were encountered: