Npm update error

  1. I execute npm install-g n
  2. on the command line
  3. appears:
    npm err! Code EBADPLATFORM
    npm err! Notsup Unsupported platform for nails 2.1.12: wanted {"os": "! win32", "arch": "any"} (current: {"os": "win32", "arch": "x64"})
    npm err! Notsup Valid OS:! win32
    npm err! Notsup Valid Arch: any
    npm err! Notsup Actual OS: win32
    npm err! Notsup Actual Arch: x64

    npm err! A complete log of this run can be found in:
    npm err! C:UsersdallAppDataRoamingnpm-cache_logs2018-06-29T06_16_04_239Z-debug.log

  4. how to solve it?
Npm
Mar.22,2021

window install a nvm, and then use nvm to manage the node version;
if the nvm cannot be used automatically, download multiple node versions manually and switch manually-- ask me again if you can't make good use of nvm! Because most people can directly use nvm ls,nvm use-_-


n does not work on Windows at the moment. Pull Requests are appreciated
n does not support managing node versions on win
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b369db-2b7a6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b369db-2b7a6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?