【发布时间】:2023-03-19 10:26:01
【问题描述】:
我自己根据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.
我怎样才能像第一个链接一样运行?
【问题讨论】:
标签: node.js ubuntu node-webkit nw.js