V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
yz346287786
V2EX  ›  Node.js

安装完某大型计算软件的帮助文档后,需要启动服务才能打开,提示如下,请问该怎样按它的提示启动服务?把下面那一大串输入到 cmd 里报错。

  •  
  •   yz346287786 · 148 天前 · 785 次点击
    这是一个创建于 148 天前的主题,其中的信息可能已经有所发展或是发生改变。

    The Node.js exe serving the documentation is started through a Windows service

    However if for any reason you would like to start manually the Node.js server using Java Search,

    at the command prompt enter the following command.

    Then, once the server is listening, to access the documentation

    enter the following URL in a browser's address bar:

    http://****/English

    "D:\HardSoftwares*\node.exe" "D:\HardSoftwares*\DSDocNode_http34.js" -rootpath="D:\HardSoftwares**" -port=4040 -host=** -proxyurl=http://**** -toc=*.xml -search=javaauto -searchoutput=C:\Users*\AppData\Local\Temp\ds_docsearch4041.log -site=** -feedback=no > C:\Users**\AppData\Local\Temp\ds_docnode4040.log

    6 条回复    2023-12-08 15:20:27 +08:00
    hefish
        1
    hefish  
       148 天前
    得把* 号填充成实际的吧
    yz346287786
        2
    yz346287786  
    OP
       148 天前
    @hefish 我只是隐藏了安装目录和主机名,其实也没什么,实际如下:
    "D:\HardSoftwares\Simulia\SIMULIA2022doc\node.exe" "D:\HardSoftwares\Simulia\SIMULIA2022doc\DSDocNode_http34.js" -rootpath="D:\HardSoftwares\Simulia\SIMULIA2022doc" -port=4040 -host=DESKTOP-ABNF7SJ -proxyurl=http://DESKTOP-ABNFJ7SJ:4040 -toc=DSSIMULIA_Established_TOC.xml -search=javaauto -searchoutput=C:\Users\yc\AppData\Local\Temp\ds_docsearch4041.log -site=DSSIMULIA_Established -feedback=no > C:\Users\yc\AppData\Local\Temp\ds_docnode4040.log
    yz346287786
        3
    yz346287786  
    OP
       148 天前 via Android
    我猜和启动 node.js 有关,但是这方面我不动,请大佬指点。
    hefish
        4
    hefish  
       147 天前
    看起来启动命令问题不大啊。 有啥出错信息吗?
    cmd 里面没有的话,C:\Users\yc\AppData\Local\Temp\ds_docnode4040.log 里面有吗
    wangtian2020
        5
    wangtian2020  
       147 天前
    你电脑装 nodejs 了吗
    yz346287786
        6
    yz346287786  
    OP
       147 天前 via Android
    谢谢各位,解决了,cmd 里报错,但是把这些参数写到 js 文件里再启动就可以了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1596 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 16:22 · PVG 00:22 · LAX 09:22 · JFK 12:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.