Error: npm is known not to run on Node.js V4.2.6

前端 未结 8 1699
名媛妹妹
名媛妹妹 2020-12-30 20:01

how can I solve the following error? I use Ubuntu 16. When I run any npm command such as \"npm run dev\" I get this error:

ERROR: npm is known not to

8条回答
  •  有刺的猬
    2020-12-30 20:12

    I just had this issue on Ubuntu 16. Use n to update to the latest version

    sudo n latest
    

    That should settle it.

提交回复
热议问题