Open miio opened 12 years ago
現在stableのv0.6系で動けば良いと思います。 v0.7系は仕様変更が激しい///ので、v0.8が出たときに対応でも遅くないかと。
※v0.6._までpath.existsSync
だったものが、v0.7._でfs.existsSync
になって動かなくなりました。
そんなことになってたのね。
サーバ側には0.6系を再インストールしておきます。
root@kg-osushi-www:/home/osushi# node game install 16 Apr 02:44:29 - Wait a minute. 16 Apr 02:44:29 - output: index.html 16 Apr 02:44:29 - output: server/config.json 16 Apr 02:44:29 - [cd client;npm install] finished. 16 Apr 02:44:29 - output: client/src/server_config.coffee 16 Apr 02:44:29 - [cd server;npm install] finished. { [Error: Command failed: node.js:201 throw e; // process.nextTick error, or 'error' event on first tick ^ Error: write EPIPE at errnoException (net.js:670:11) at Object.afterWrite as oncomplete ] killed: false, code: 1, signal: null }
0.6.15もうごかなかった。
OS: Ubuntu 10.04LTS
root@kg-osushi-www:/home/osushi# node -v v0.7.8-pre
root@kg-osushi-www:/home/osushi# node game install 15 Apr 23:58:54 - Wait a minute. 15 Apr 23:58:54 - output: index.html 15 Apr 23:58:54 - output: server/config.json 15 Apr 23:58:55 - [cd server;npm install] finished. 15 Apr 23:58:55 - [cd client;npm install] finished. 15 Apr 23:58:55 - output: client/src/server_config.coffee { [Error: Command failed: path.existsSync is deprecated. It is now called
fs.existsSync
.node.js:247 throw e; // process.nextTick error, or 'error' event on first tick ^ Error: write EPIPE at errnoException (net.js:686:11) at Object.afterWrite as oncomplete ] killed: false, code: 1, signal: null } root@kg-osushi-www:/home/osushi# node game install 16 Apr 00:17:19 - Wait a minute. 16 Apr 00:17:19 - output: index.html 16 Apr 00:17:19 - output: server/config.json 16 Apr 00:17:19 - [cd server;npm install] finished. 16 Apr 00:17:19 - [cd client;npm install] finished. 16 Apr 00:17:19 - output: client/src/server_config.coffee { [Error: Command failed: path.existsSync is deprecated. It is now called
fs.existsSync
. { [Error] code: 127 }node.js:247 throw e; // process.nextTick error, or 'error' event on first tick ^ Error: write EPIPE at errnoException (net.js:686:11) at Object.afterWrite as oncomplete ] killed: false, code: 1, signal: null }