[BUG] getting a `Failed to read _auth from ~/.npmrc` with Node v20
@kay-schecker がすでに取り組んでいます。
2025年2月25日 から。
評価
この issue はまだ評価されていません。
説明
🐛 Bug Report:
Describe the bug
When running openapi-fetch or other openapi commands, I get the following error:
Failed to read _auth from ~/.npmrc
My .npmrc file has the newer _auth syntax, which is how it is configured on NodeJS v20:
//registry.npmjs.org/:_auth=<auth_token>
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 expected
Steps to Reproduce
this is a redacted screenshot of my .npmrc file
this is a redacted screenshot of the openapi-fetch execution through an npm script
Expected 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 v20
Screenshots
Submitted on Steps to reproduce
Operation System (please complete the following information):
- OS: macOS
- Version 15.3.1
Package System (please complete the following information):
- node: v20.18.3
- npm: v10.8.2
- openapitools/openapi-generator-cli: ^2.16.3
- 主要言語
- TypeScript
- スター
- 2k
- フォーク
- 209
- 平均マージ
- 9時間 35分
- マージ済み PR(30日)
- 3
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OpenAPITools/openapi-generator-cli のほかの issue
-
[FEATURE] consider using caret ranges instead of pinned exact versions for runtime dependenciesオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
[BUG] JAVA_OPTS is incorrectly evaluated再び着手できるかも @kay-schecker が 127 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
OpenAPITools/openapi-generator-cli#1213 · 担当者 1 名 ·
-
[BUG] Proxy configuration of NPM not used when downloading .jar via version manager再び着手できるかも @kay-schecker が 181 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
OpenAPITools/openapi-generator-cli#1190 · 担当者 1 名 ·
-
[BUG] openapiGeneratorIgnoreList is missing from schema再び着手できるかも @kay-schecker が 232 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
OpenAPITools/openapi-generator-cli#1138 · コメント 1 件 · 担当者 1 名 ·
-
[BUG] Environment variable not found (missing .env loading)再び着手できるかも @kay-schecker が 270 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
OpenAPITools/openapi-generator-cli#1094 · コメント 1 件 · 担当者 1 名 ·
OpenAPITools/openapi-generator-cli の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Effect-TS/effect#8881 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Discover carries headerEdges that nothing reads since #1914 moved E0507/E0517 to the compiler graphオープンtech-debt
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
mail processing verified
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 7 日以内に返信
-
check:passed streams:add
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
OpenSlides/OpenSlides#7180 ·