我正在努力讓節點在新的mac上運行。我下載了安裝在http://nodejs.org/npm安裝成功,但節點web.js錯誤w:「錯誤:找不到模塊」
然後我混帳克隆我的節點回購,跑NPM安裝和NPM更新,然後節點web.js然後與錯誤:
$ node web.js
Error: Cannot find module '/Users/me/Sites/mysite-node/node_modules/pg/lib/native/../../build/default/binding'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object.<anonymous> (/Users/me/Sites/mysite-node/node_modules/pg/lib/native/index.js:12:12)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
我是新來的節點,任何想法或建議在哪裏看?謝謝