Skip to content

SpaceTech

Exploration of Information, Communication and Technology

  • Home
  • Resx Builder
  • About
  • LinkedIn
  • Github

How to npm rebuild package-lock

February 2, 2023February 23, 2023 Bjarne

How to force a rebuild of package-lock. for both 6.x and 7.x you can do the following.

npm i --package-lock-only

Note that The –package-lock-only argument will only update the package-lock.json, instead of checking node_modules and downloading dependencies. https://docs.npmjs.com/cli/v9/commands/npm-install

Posted in Technology

About

Hey! Engineer here. This is my engineering diary. I enjoy creating things, whether that be websites, plugins, mobile apps. I'm currently playing around in an engineering department where I work on a wide variety of interesting and meaningful projects on a daily basis. You’re welcome to connect and say hey on LinkedIn. Enjoy!


  • How to use parameter arguments in C#
  • Fixing Windows 11 Start Menu Not Working: Easy Solutions and Troubleshooting Tips
  • How to turn off history in ChatGPT and go into incognito mode
  • Troubleshooting Windows 11 Wi-Fi Not Working: Solutions and Fixes
  • How to Count unique string values among duplicates in Excel

Copyright ©SpaceTech

Clean Theme by WPVKP