{"action":"created","issue":{"url":"https://api.github.com/repos/tgriesser/bookshelf/issues/980","labels_url":"https://api.github.com/repos/tgriesser/bookshelf/issues/980/labels{/name}","comments_url":"https://api.github.com/repos/tgriesser/bookshelf/issues/980/comments","events_url":"https://api.github.com/repos/tgriesser/bookshelf/issues/980/events","html_url":"https://github.com/tgriesser/bookshelf/issues/980","id":114643159,"number":980,"title":"The knex version is 0.9.0 which does not satisfy the Bookshelf's requirement >=0.6.10 <0.9.0","user":{"login":"ghafran","id":769045,"avatar_url":"https://avatars.githubusercontent.com/u/769045?v=3","gravatar_id":"","url":"https://api.github.com/users/ghafran","html_url":"https://github.com/ghafran","followers_url":"https://api.github.com/users/ghafran/followers","following_url":"https://api.github.com/users/ghafran/following{/other_user}","gists_url":"https://api.github.com/users/ghafran/gists{/gist_id}","starred_url":"https://api.github.com/users/ghafran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghafran/subscriptions","organizations_url":"https://api.github.com/users/ghafran/orgs","repos_url":"https://api.github.com/users/ghafran/repos","events_url":"https://api.github.com/users/ghafran/events{/privacy}","received_events_url":"https://api.github.com/users/ghafran/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-02T17:27:42Z","updated_at":"2015-11-02T18:00:43Z","closed_at":null,"body":"Using the latest versions of knex and bookshelf,\r\n```\r\n \"dependencies\": {\r\n    \"bookshelf\": \"^0.9.0\",\r\n    \"knex\": \"^0.9.0\"\r\n  },\r\n```\r\nGetting the following error:\r\n```\r\nError: The knex version is 0.9.0 which does not satisfy the Bookshelf's requirement >=0.6.10 <0.9.0\r\n    at Bookshelf (/srv/flux/node_modules/bookshelf/lib/bookshelf.js:61:11)\r\n```\r\n\r\nShould the code look like this?\r\n```\r\nlet range = '>=0.6.10 <=0.9.0';\r\n  if (!semver.satisfies(knex.VERSION, range)) {\r\n    throw new Error('The knex version is ' + knex.VERSION + ' which does not satisfy the Bookshelf\\'s requirement ' + range);\r\n  }\r\n```"},"comment":{"url":"https://api.github.com/repos/tgriesser/bookshelf/issues/comments/153102148","html_url":"https://github.com/tgriesser/bookshelf/issues/980#issuecomment-153102148","issue_url":"https://api.github.com/repos/tgriesser/bookshelf/issues/980","id":153102148,"user":{"login":"haimich","id":2170127,"avatar_url":"https://avatars.githubusercontent.com/u/2170127?v=3","gravatar_id":"","url":"https://api.github.com/users/haimich","html_url":"https://github.com/haimich","followers_url":"https://api.github.com/users/haimich/followers","following_url":"https://api.github.com/users/haimich/following{/other_user}","gists_url":"https://api.github.com/users/haimich/gists{/gist_id}","starred_url":"https://api.github.com/users/haimich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haimich/subscriptions","organizations_url":"https://api.github.com/users/haimich/orgs","repos_url":"https://api.github.com/users/haimich/repos","events_url":"https://api.github.com/users/haimich/events{/privacy}","received_events_url":"https://api.github.com/users/haimich/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T18:00:43Z","updated_at":"2015-11-02T18:00:43Z","body":"Same here!"}}