{"action":"created","issue":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4051","labels_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4051/labels{/name}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4051/comments","events_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4051/events","html_url":"https://github.com/pouchdb/pouchdb/issues/4051","id":95623040,"number":4051,"title":"Pouchdb not creating database file on windows","user":{"login":"dilignt","id":5586296,"avatar_url":"https://avatars.githubusercontent.com/u/5586296?v=3","gravatar_id":"","url":"https://api.github.com/users/dilignt","html_url":"https://github.com/dilignt","followers_url":"https://api.github.com/users/dilignt/followers","following_url":"https://api.github.com/users/dilignt/following{/other_user}","gists_url":"https://api.github.com/users/dilignt/gists{/gist_id}","starred_url":"https://api.github.com/users/dilignt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dilignt/subscriptions","organizations_url":"https://api.github.com/users/dilignt/orgs","repos_url":"https://api.github.com/users/dilignt/repos","events_url":"https://api.github.com/users/dilignt/events{/privacy}","received_events_url":"https://api.github.com/users/dilignt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-17T09:38:29Z","updated_at":"2015-07-21T11:33:05Z","closed_at":null,"body":"I'm unable to get pouchdb working on windows 8.1 and I'm wondering what the problem is.  I've managed to compile leveldb correctly so that no errors are returned when running pouchdb, and I executed the following code\r\n```\r\nvar PouchDB = require('pouchdb');\r\nvar db = new PouchDB('./test.db');\r\n\r\ndb.post({testing:123}).then(\r\n    function(val) {\r\n        console.log(val); \r\n    }, function(err) { \r\n        console.log(err); \r\n    });\r\n\r\nconsole.log(db);\r\n```\r\nThe resulting output is\r\n```\r\n{ __opts: {},\r\n  auto_compaction: undefined,\r\n  prefix: '_pouch_',\r\n  domain: null,\r\n  _events: {},\r\n  _maxListeners: 10,\r\n  taskqueue: { isReady: false, failed: false, queue: [ [Function] ] },\r\n  _adapter: 'leveldb',\r\n  _db_name: './test.db',\r\n  adapter: 'leveldb',\r\n  replicate: { from: [Function], to: [Function], sync: [Function] },\r\n  sync: [Function],\r\n  then: [Function],\r\n  catch: [Function] }\r\n```\r\nWhich shows that the db.post.then() function is not called either with a return value or an error.  I notice that the taskqueue.isReady is false - could this have something to do with the problem?  Is there any way I can debug this issue?\r\n\r\nI'm trying to build a Pouchdb database file on the server which I can then open from within a cordova mobile app.  Is this the right way to do that?\r\n\r\nmany thanks in advance"},"comment":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/comments/123274206","html_url":"https://github.com/pouchdb/pouchdb/issues/4051#issuecomment-123274206","issue_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/4051","id":123274206,"user":{"login":"nolanlawson","id":283842,"avatar_url":"https://avatars.githubusercontent.com/u/283842?v=3","gravatar_id":"","url":"https://api.github.com/users/nolanlawson","html_url":"https://github.com/nolanlawson","followers_url":"https://api.github.com/users/nolanlawson/followers","following_url":"https://api.github.com/users/nolanlawson/following{/other_user}","gists_url":"https://api.github.com/users/nolanlawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nolanlawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolanlawson/subscriptions","organizations_url":"https://api.github.com/users/nolanlawson/orgs","repos_url":"https://api.github.com/users/nolanlawson/repos","events_url":"https://api.github.com/users/nolanlawson/events{/privacy}","received_events_url":"https://api.github.com/users/nolanlawson/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T11:33:05Z","updated_at":"2015-07-21T11:33:05Z","body":"@dilignt Probably leveldown did not build correctly; I'm guessing. It has build problems on Windows.\r\n\r\n@darkyen That's really unfortunate about 8.1 store apps. It makes no sense to me why they would disable IndexedDB, since they never supported WebSQL. The SQLite Plugin is okay, but it is rather hacky when the web platform has had a perfectly viable alternative for the past 5 years.\r\n\r\nCan you provide a link explaining the 8.1/no indexedDB thing? I want to complain to some Microsoft devs.\r\n\r\nAlso, can you tell me which versions of Windows Phone use `window.IndexedDB` or `window.msIndexedDB`? We can fix that directly in our code, but I want to know which versions we are supporting via that mechanism."}}