zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    UVALive 7141 BombX
    CodeForces 722D Generating Sets
    CodeForces 722C Destroying Array
    CodeForces 721D Maxim and Array
    CodeForces 721C Journey
    CodeForces 415D Mashmokh and ACM
    CodeForces 718C Sasha and Array
    CodeForces 635C XOR Equation
    CodeForces 631D Messenger
    田忌赛马问题
  • 原文地址:https://www.cnblogs.com/codedisco/p/13386447.html
Copyright © 2011-2022 走看看