zoukankan      html  css  js  c++  java
  • Node.js is only supported on Windows 8.1, Windows Server 2012 R2, or higher

    今天想更换nodejs版本,使用node v14.15.4,下载的zip包,设置完环境变量,检查是否安装成功

    >node -v
    Node.js is only supported on Windows 8.1, Windows Server 2012 R2, or higher.
    Setting the NODE_SKIP_PLATFORM_CHECK environment variable to 1 skips this
    check, but Node.js might not execute correctly. Any issues encountered on
    unsupported platforms will not be fixed.

    问题原因:

      当前系统是Windows 7

      从node v14.x版本开始,需要Windows 8.1或更高版本

    解决的方法:

      (1)使用 node v12

      (2)设置系统操作系统环境变量绕过校验

    D:>set  NODE_SKIP_PLATFORM_CHECK=1
    
    D:>node -v
    v14.15.4

      注:运行中可能会有风险

  • 相关阅读:
    K8S-安全机制
    K8S-Service
    K8S-Pod资源管理
    K8S-kubelet启动过程
    每日进度
    每日进度
    每日进度
    每日进度
    每日进度
    归纳及计划
  • 原文地址:https://www.cnblogs.com/baby123/p/14334755.html
Copyright © 2011-2022 走看看