NAE 进行不断的改进非常兴趣吼,只是:
- nae 1.1 命令行工具,使用很多出乎意外:
- 比如说,什么是 RemoteJob [2] error ?!
$ nae sup urisaok
[INFO] * connection established !
-remote- [Delete] node_modules/
-remote- [Delete] urisaok/
-remote- [Modify] server.js
-remote- [Modify] package.json
-remote- [Add ] app.coffee
-remote- [Delete] README.txt
-remote- [Add ] README.md
- total - 7
[INFO] * using ".naeignore" to control transfer files
[WARNING] * apply these actions? [yes|no]
yes
* RemoteJob[7 : 1] = urisaok:rmdir > node_modules/
* RemoteJob[7 : 2] = urisaok:rmdir > urisaok/
* RemoteJob[7 : 3] = urisaok:fileedit > server.js
[WARNING] undefined
[ERROR] * Total [7] . RemoteJob [2] error !
- 是否服务端对,浏览器进行了限定?
$ curl -v http://urisaok.cnodejs.net
* About to connect() to urisaok.cnodejs.net port 80 (#0)
* Trying 110.76.47.99... connected
* Connected to urisaok.cnodejs.net (110.76.47.99) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4 OpenSSL/0.9.8r zlib/1.2.5
> Host: urisaok.cnodejs.net
> Accept: */*
>
* Empty reply from server
* Connection #0 to host urisaok.cnodejs.net left intact
curl: (52) Empty reply from server
* Closing connection #0
突然,怎么也无法使用 curl 进行 测试了,
希望,进一步完善文档,給大家用起,
5 回复
-
应该是传输异常了,我查一下 .
-
是因为上传到是在dev模式, curl -v http://urisaok.dev.cnodejs.net . http://urisaok.cnodejs.net 访问的是线上模式,需要 nae pub 一下 .
@fish 是也乎,是也乎,真心认可的, 但是,在线编辑,实在不方便, git 提交又忒手动, nae 推非常接近 GAE 行为,很喜欢,但是在公司 T1 网络中尝试 nae sup / pub 都是:
[INFO] * using ".naeignore" to control transfer files
[WARNING] * apply these actions? [yes|no]
yes
* RemoteJob[7 : 1] = urisaok:rmdir > node_modules/
* RemoteJob[7 : 2] = urisaok:rmdir > urisaok/
* RemoteJob[7 : 3] = urisaok:fileedit > server.js
[WARNING] undefined
[ERROR] * Total [7] . RemoteJob [2] error !
錯誤吼,