Mac OS X NodeJS: has no method 'router' error

后端 未结 3 1662
既然无缘
既然无缘 2021-01-15 01:14

Installed NodeJS v0.6.12 on MAC OS X using Mac Ports.

    win764:node iwaldman$ which node
         /opt/local/bin/node

    win764:node iwaldman$ node -v
         


        
3条回答
  •  轮回少年
    2021-01-15 01:42

    I had the same question. Richard Rodger,the author of 'Beginning Mobile Application Development in the Cloud' suggested I should either use the dispatch module (https://github.com/caolan/dispatch) or install an older version of connect, using:

    npm install git://github.com/senchalabs/connect.git#1.8.6

    Hope this helps! :)

提交回复
热议问题