NativeScript / NativeScript/nativescript-cli

version of dependency doesn't update in node_modules if you change it in package.json

オープン
#4,924 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug
主要言語
JavaScript
スター
1.1k
フォーク
204
平均マージ
1日 9時間
マージ済み PR(30日)
8

説明

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 6.0.2

Describe the bug
Change a version of a dependency in a package.json and run the project. You will see that the version doesn't update in node_modules.

To Reproduce

  1. tns create app --js
  2. set nativescript-dev-webpack to be 1.0.1 in package.json and run app
  3. You will see that the version in node_modules/nativescript-dev-webpack/package.json is 1.0.2

Expected behavior
version should update

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず tns create app --js で問題を再現し、アプリを実行した後に package.json の依存関係のバージョンと node_modules/nativescript-dev-webpack/package.json のバージョンを比較します。CLI の依存関係のインストールまたはプロジェクト実行のエントリポイントを追跡します。完了の条件は、要求されたバージョンを変更すると、1.0.2 のまま保持されるのではなく、インストール済みの依存関係が更新されることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, nodejs
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。