0
我在我的Mac OS 10.6.8机器上安装了node,npm和express。节点已安装,并且版本为v0.4.11。 Npm已经安装并且在版本1.0.106以下。Express 2.5.3在Mac OS 10.6(Snow Leopard)上无法正常工作
快递也已安装:
[email protected] /usr/lib/node_modules/express
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
不过,我可以不使用它,称它在命令行上给我这个错误:
$ /usr/bin/express -s -t jade
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Object #<Object> has no method 'platform'
at Object.<anonymous> (/usr/lib/node_modules/express/bin/express:34:25)
at Module._compile (module.js:402:26)
at Object..js (module.js:408:10)
at Module.load (module.js:334:31)
at Function._load (module.js:293:12)
at Array.<anonymous> (module.js:421:10)
at EventEmitter._tickCallback (node.js:126:26)
谁能给我一个暗示什么去做?谢谢!
很奇怪你为什么要[email protected]。我使用'npm install express'在Lion上安装了它,并且它拉到了2.5.2。 – nicerobot 2012-01-02 01:32:50