NPM and package.json weirdness
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- node.js
- 領域
- tooling
調査の方向性
Reproduce the package1 → package2 → package3 → helloworld dependency chain using the npm publish and npm update steps described in the issue. Inspect the generated package.json files and compare dependency versions before and after updating; done means the cause of the stale transitive version is documented or corrected and the update behavior is verified.
索引モデルが issue の本文から書いたものです。
説明
Something weird is going on with NPM and how package.json files work.
Suppose I have a package called package1 which is required by a package called package2, which in turn is required by package3 which is required by an app called helloworld, which only requires package3.
Okay, so I make a change to package1, npm publish the new version, and go to the directory that contains helloworld and npm update it.
You'd think that we'd get the new version of package1 but we don't. The only way to get it to update that I've discovered is to make a change to package3, publish it, and then npm update. But nothing changed in package3, why should I have to rebuild it just to get the change in package1 reflected in the app.
I have a feeling that this is because NPM modifies the package.json that NPM passes up the chain of require's? I swear this used to work, and what a pain in the ass if this is the only way to get changes deep in the stack reflected at the top.
- 主要言語
- HTML
- スター
- 134
- フォーク
- 10
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
scripting/Scripting-News のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
scripting/Scripting-News#353 · コメント 6 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
scripting/Scripting-News#332 · コメント 25 件 · リアクション 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
scripting/Scripting-News#362 ·
-
Matt is moved aside オープン
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
scripting/Scripting-News#361 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
scripting/Scripting-News#360 · コメント 1 件 · リアクション 1 件 ·
scripting/Scripting-News の issue をすべて見る
似ている issue
-
sponsored
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
microsoft/navcontainerhelper#4217 ·
-
feature
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
use-agent-os/agent-os#3314 ·
-
[scanner] PR #409 committed node_modules as a symlink to a maintainer's local path — shipped on main オープンagent/scanner bug hive/hosted-available-lke648397-260827-5n31
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100