gpt4 book ai didi

node.js - 无法在 ubuntu 中运行 nw.js 应用程序

转载 作者:行者123 更新时间:2023-12-04 19:16:44 24 4
gpt4 key购买 nike

我自己根据 this link 中给出的教程创建了一个 node webkit helloworld 应用程序。 .我也尝试使用 this link 中给出的命令在 ubuntu OS 中运行相同的命令。 .但是当我运行命令 nw /home/myUsername/Documents/myNodeWebkitApps/helloWorld/myApp.nw它在终端中抛出以下结果。

usage
nw [udp] <options> <host> <port>

Default TCP protocol can be changed to UDP by ``udp'' argument.
UDP options
currently none
TCP options
-f firewall mode, connection is initiated by netread.
Host specification is ignored and can be omited.
-c ignored. Transmission checksum is activated by
default.
-C algorithm use the specified algorithm for checksum. This
option also implies -c.
Supported algorithms (the first is default):
md5 none
general options
-i <file> read data from file instead of stdin.
-b print speed in b/s instead of B/s
-h <n> print `#' after each n KiB transferred (def. 10485.76).
-H <n> print `#' after each n MiB transferred (def. 10.24).
-q be quiet.
-v be verbose.
-vv be very verbose.
-V show version.
-vV show verbose version.
return values
0 no errors.
1 some error occured.
2 checksum validation failed.

如何运行与第一个链接给出的相同?

最佳答案

这里的输出不是来自nw.js但是 netrw它安装在您的机器上。您可以通过删除 netrw 来修复它从您的机器或更正到 nw.js 的路径.

关于node.js - 无法在 ubuntu 中运行 nw.js 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34877378/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com