|
|
Danh hiệu: Administration
Nhóm: Administrators
Gia nhập: 23-07-2013(UTC) Bài viết: 6,117   Đến từ: Vietnam Cảm ơn: 10 lần Được cảm ơn: 2 lần trong 2 bài viết
|
npm does not support Node.js VersionIt turns out that the current installed npm is not compatible with the new node and has a hard time updating. The solution is to uninstall npm and then reinstall node which will contain the correct version of npm. Step 1 : See what version of npm you’re running npm -v Step 2: Uninstall npm. Mac:Mã:sudo npm uninstall -g npm
Windows: Step 3 : - Upgrade to the most recent release : Mã:npm i -g npm@next
- Or upgrade to the latest version of npm using : Mã:npm install -g npm@latest
- Or Install node with the version you want Mã:npm -g install npm@<version>
By default, npm is installed alongside node in %ProgramFiles%\nodejs . NPM's globally installed packages are stored separately in a user-specific directory (%appdata%\npm).
|
|
|
|
|
|
Di chuyển
Bạn không thể tạo chủ đề mới trong diễn đàn này.
Bạn không thể trả lời chủ đề trong diễn đàn này.
Bạn không thể xóa bài của bạn trong diễn đàn này.
Bạn không thể sửa bài của bạn trong diễn đàn này.
Bạn không thể tạo bình chọn trong diễn đàn này.
Bạn không thể bỏ phiếu bình chọn trong diễn đàn này.