npm rebuild
Rebuild native Node.js packages after Node or dependency changes. More information: https://docs.npmjs.com/cli/npm-rebuild/.
- Rebuild a specific package:
npm
- Rebuild all installed packages:
npm
- Rebuild with verbose output:
npm --verbose
- Rebuild a package in a specific directory:
npm --prefix
- Rebuild without using the npm cache:
npm --no-cache
- Rebuild in global mode:
npm
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
