zensh / jsgen

[DEPRECATED]JsGen is a next generation,free, open source web software that you can generate a powerful website, such as blog, forum, etc. It is coded by pure JavaScript, based on Node.js, AngularJS, MongoDB.
http://angularjs.cn/
MIT License
1.56k stars 513 forks source link

安装不成功,报错如下 #37

Closed gm100861 closed 10 years ago

gm100861 commented 10 years ago

/usr/local/node/bin/node app.js install

rrestjs process 17871 Checking config file starting... check config file error: TypeError: Object # has no method 'upyun'

rrestjs process 17871 Config file checking complete, errors:0/73, warns:0/73

= Please ensure that you set the default write concern for the database by setting = = one of the options = = = = w: (value of > -1 or the string 'majority'), where < 1 means = = no write acknowlegement = = journal: true/false, wait for flush to journal before acknowlegement = = fsync: true/false, wait for flush to file system before acknowlegement = = = = For backward compatibility safe is still supported and = = allows values of [true | false | {j:true} | {w:n, wtimeout:n} | {fsync:true}] = = the default value is false which means the driver receives does not = = return the information of the success/error of the insert/update/remove = = = = ex: new Db(new Server('localhost', 27017), {safe:false}) = = = = http://www.mongodb.org/display/DOCS/getLastError+Command = = = = The default of no acknowlegement will change in the very near future = = =

= This message will disappear when the default safe is set on the driver Db =

Connect to Redis... Redis connected: 127.0.0.1:6379, DB: 1 Redis connected: 127.0.0.1:6379, DB: 2 Redis connected: 127.0.0.1:6379, DB: 3

怎么弄

zensh commented 10 years ago

以上两个都不算error

zensh commented 10 years ago

已经更新了,现在需要先:

node app.js install

这个命令只会重建mongodb数据库,然后再:

node app.js

启动 jsGen