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)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
已解决
//没有人回复,应该很少有人遇到这个问题,所以就不发布解决方案了。