method and command
first make sure that node.js is installed successfully
open CMD
input command:
1. Modify cache path
npm config set cache "D:\url\npm-cache"
2. Modify global download:
npm config set prefix "D:\url\npm_global"
so you can put the installation of things in the corresponding disk character, save C disk space!
the corresponding position will appear two folders:
may no NPM – cache this folder at the beginning, but after installing things will appear, such as installation of vue scaffolding, etc.
p>
Read More:
- Node configuration environment variable and global installation of webapck
- Error: ENOENT: no such file or directory, mkdir E:\
- When installing software in Ubuntu, it prompts: E: You don’t have enough free space in /var/cache/apt/archives/.
- Solve the problem that the header file of “graphics. H” cannot be loaded in vs2015
- [VTK] vtk8.2.0 + vs2015 + win10 compilation and configuration
- Modify the default file location of the Jupiter notebook
- brew install tmux: Error: parent directory is world writable but not sticky
- Thoroughly solve mysql error: 1030,’Got error 28 from storage engine’
- Error: EBUSY: resource busy or locked, rmdir ‘
- Failed to mount / cache (no such device)
- PHP artisan cache: clear command reports an error
- The node rimraf module recursively deletes the contents of the folder
- Pull code execution NPM install error code: 128
- vs2013 wdk8.1 ERROR: Symbol file could not be found. Defaulted to export symbols for ntkrnlmp.exe
- composer Error while processing content unencoding: Unknown failure within decompression softwar
- Convert Tencent video QLV format to MP4 format
- On the use of NPM cache clean — force
- Error: EPERM: operation not permitted, mkdir ‘D:\nodejs\node_modules\npm\node_cache\_npx‘
- Error: Cannot find module ‘process-nextick-args’
- ERROR: command failed: npm install –loglevel error