Maison  >  Questions et réponses  >  le corps du texte

node.js - Keystonejs使用过程中,Windows正常使用,通过SVN上传到服务器,然后Node启动的时候就出现这样的错误。

TypeError: Invalid Version: .svn

at new SemVer (/htdocs/www/tala/node_modules/keystone/node_modules/semver/semver.js:271:11)

at Function.compare (/htdocs/www/tala/node_modules/keystone/node_modules/semver/semver.js:424:10)

at /htdocs/www/tala/node_modules/keystone/lib/updates.js:95:17

at Array.sort (native)

at Object.exports.apply (/htdocs/www/tala/node_modules/keystone/lib/updates.js:93:112)

at [object Object].Keystone.applyUpdates (/htdocs/www/tala/node_modules/keystone/index.js:723:27)

at NativeConnection. (/htdocs/www/tala/node_modules/keystone/index.js:483:13)

at NativeConnection.EventEmitter.emit (events.js:92:17)

at open (/htdocs/www/tala/node_modules/keystone/node_modules/mongoose/lib/connection.js:453:10)

at NativeConnection.Connection.onOpen (/htdocs/www/tala/node_modules/keystone/node_modules/mongoose/lib/connection.js:461:5)

at /htdocs/www/tala/node_modules/keystone/node_modules/mongoose/lib/connection.js:421:10

at /htdocs/www/tala/node_modules/keystone/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:59:5

at /htdocs/www/tala/node_modules/keystone/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:294:11

at process._tickCallback (node.js:415:13)

大家讲道理大家讲道理2764 Il y a quelques jours463

répondre à tous(1)je répondrai

  • 巴扎黑

    巴扎黑2017-04-17 11:31:48

    已解决

    //没有人回复,应该很少有人遇到这个问题,所以就不发布解决方案了。

    répondre
    0
  • Annulerrépondre