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

166 天前
 yz346287786

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

807 次点击
所在节点    Node.js
6 条回复
hefish
166 天前
得把* 号填充成实际的吧
yz346287786
166 天前
@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
166 天前
我猜和启动 node.js 有关,但是这方面我不动,请大佬指点。
hefish
165 天前
看起来启动命令问题不大啊。 有啥出错信息吗?
cmd 里面没有的话,C:\Users\yc\AppData\Local\Temp\ds_docnode4040.log 里面有吗
wangtian2020
165 天前
你电脑装 nodejs 了吗
yz346287786
165 天前
谢谢各位,解决了,cmd 里报错,但是把这些参数写到 js 文件里再启动就可以了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/998506

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX