运行Booking Dojo需要什么版本的SimpleDeclare?

时间:2014-05-18 17:18:17

标签: javascript node.js express dojo

我试图在https://github.com/mercmobily/bookingdojo运行预订Dojo项目。 运行git clone之后,我跑了: $ npm install

NPM安装无法正确安装simpleschema-tingo和simpledblayer-tingo,必须手动安装它们: $ npm install simpledblayer-tingo $ npm install simpleschema-tingo

安装这些模块后,我尝试使用以下命令再次运行:

$ node server
$ NODE_ENV='production' MONGO_URL="mongodb://$MONGO_USER:$MONGO_PASS@oceanic.mongohq.com:10082/$DBNAME" node server

这些是跟踪转储的第一行(MongoDB和TingoDB都出现相同的错误):

/home/bogdanbiv/WebstormProjects/bookingdojo/node_modules/mongodb/lib/mongodb/mongo_client.js:424
              throw err
                    ^
TypeError: Cannot read property 'prototype' of undefined
    at /home/bogdanbiv/WebstormProjects/bookingdojo/node_modules/simpledeclare/declare.js:137:57
    at Array.forEach (native)
    at declare (/home/bogdanbiv/WebstormProjects/bookingdojo/node_modules/simpledeclare/declare.js:135:15)
    at /home/bogdanbiv/WebstormProjects/bookingdojo/node_modules/bd/lib/bd.js:378:39
    at /home/bogdanbiv/WebstormProjects/bookingdojo/node_modules/hotplate/node_modules/hotCoreJsonRestStores/lib/hotCoreJsonRestStores.js:203:7

将完整日志粘贴到http://pastebin.com/DLV6fy71。 这是怎么回事?

0 个答案:

没有答案