【发布时间】:2017-02-15 13:29:00
【问题描述】:
我在本地机器上使用了https://stuk.github.io/jszip/,并通过 npm 更新了所有依赖项并使用了命令grunt connect,但这仅显示 Web 服务器已启动,但在此 url 上它不起作用。
$ grunt connect
Running "connect:server" (connect) task
Started connect web server on http://localhost:9999
Done, without errors.
即使我已经测试了应用程序也没有错误, 谁能告诉我如何从 git-hub 获取此类项目并通过 npm 或 composer/bower 在本地运行。
【问题讨论】:
-
没有更多信息,我们无法知道发生了什么。使用
grunt connect --verbose的输出编辑您的问题。