package.json の dependencies を更新したのに、 npm install
しても更新後のバージョンがインストールされないって時は、npm shrinkwrap
しているかどうかを確認した方がいい。 npm install
は npm-shrinkwrap.json がある時、 package.json よりも優先してそっちを見る。 なので、一度、 npm install hoge -save
として個別でインストールした後、 npm shrinkwrap
しなす必要がある。この後は、 'npm install' でも package.json に定義されたバージョンがインストールされる。
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
30