• NodeService Ensure that Node.js is installed and can be found in one of the PATH directories


    今天发布NodeService到服务器,服务器环境是window server 2012

    一直报错:

    [1] Ensure that Node.js is installed and can be found in one of the PATH directories.
    ** Current PATH enviroment variable is: C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;**
    ** C:WindowsSystem32WindowsPowerShellv1.0;C:Program FilesMicrosoftWeb Platform Installer;**
    ** C:Program Filesdotnet;C:Program Files (x86)dotnet;C:UsersAdministrator.dotnet ools**
    ** Make sure the Node executable is in one of those directories, or update your PATH.**

    当时一脸蒙蔽,找百度啊,找翻了,一直以为是环境变量的问题,装了nodejs又卸载,反反复复的尝试和添加环境变量都无果,
    该报错还是出错,然后在google找了很久,也没找到有效解决方法,

    结果看到大神的一段话,我也常识性的把nodejs.exe复制到项目内,设置成总是复制。

    项目成功运行啦。填坑,随手一记。

    .NET CORE 版本 2.2

  • 相关阅读:
    Linux快速入门(七)效率工具(Vim)
    SQLILABS(Less6)
    SQLILABS(Less5)
    SQLILABS(Less1)
    Linux快速入门(八)效率工具(SSH)
    SQLILABS(Less2)
    SQLILABS(Less4)
    【Leetcode】768. 最多能完成排序的块 II
    SQLILABS(Less7)
    SQLILABS(Less3)
  • 原文地址:https://www.cnblogs.com/codedisco/p/13386447.html
Copyright © 2020-2023  润新知