5
嘗試讓Node.js在我的網站上運行AjaxIM。我得到一個錯誤,但是當我嘗試啓動server.js 有誰知道我在做什麼錯誤,以及如何解決它?運行此文件時Node.js - 嘗試運行server.js時出錯
以下的輸出效果:
-bash-3.2# /usr/src/node-v0.4.6/node /home/colleg60/public_html/development/ajaxim/server/server.js
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module 'tcp'
at Function._resolveFilename (module.js:320:11)
at Function._load (module.js:266:25)
at require (module.js:348:19)
at Object.<anonymous> (/home/colleg60/public_html/development/ajaxim/server/server.js:32:11)
at Module._compile (module.js:404:26)
at Object..js (module.js:410:10)
at Module.load (module.js:336:31)
at Function._load (module.js:297:12)
at Array.<anonymous> (module.js:423:10)
at EventEmitter._tickCallback (node.js:126:26)
什麼文件,我可以在哪裏將tcp更改爲網絡? – JimmyJammed 2011-04-21 16:52:12
哦,即時通訊使用AjaxIM v4.0a(在他們的網站上的最新版本) – JimmyJammed 2011-04-21 16:54:09
和什麼是你的節點版本? 'node -v'? – neebz 2011-04-21 17:26:19