{"action":"created","issue":{"url":"https://api.github.com/repos/presemo/presemo-v4/issues/2","labels_url":"https://api.github.com/repos/presemo/presemo-v4/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/presemo/presemo-v4/issues/2/comments","events_url":"https://api.github.com/repos/presemo/presemo-v4/issues/2/events","html_url":"https://github.com/presemo/presemo-v4/issues/2","id":110410572,"number":2,"title":"Unable to run the project","user":{"login":"pcmakine","id":3275142,"avatar_url":"https://avatars.githubusercontent.com/u/3275142?v=3","gravatar_id":"","url":"https://api.github.com/users/pcmakine","html_url":"https://github.com/pcmakine","followers_url":"https://api.github.com/users/pcmakine/followers","following_url":"https://api.github.com/users/pcmakine/following{/other_user}","gists_url":"https://api.github.com/users/pcmakine/gists{/gist_id}","starred_url":"https://api.github.com/users/pcmakine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcmakine/subscriptions","organizations_url":"https://api.github.com/users/pcmakine/orgs","repos_url":"https://api.github.com/users/pcmakine/repos","events_url":"https://api.github.com/users/pcmakine/events{/privacy}","received_events_url":"https://api.github.com/users/pcmakine/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-08T09:48:34Z","updated_at":"2015-10-09T07:46:09Z","closed_at":"2015-10-09T07:46:09Z","body":"I am unable to run the project on a Windows machine.\r\nI tried running npm rebuild and node app/index.js and the error I got was:\r\n\r\nevents.js:85   throw er; // Unhandled 'error'event   ^   Error: ENOENT, open 'D:\\IntecProject\\presemo-v4\\db\\objects.dirty'  at Error (native)  \r\n\r\nI tried creating a folder db at the project root and created two empty files objects.dirty and session.dirty. Now node app/index.js goes further but gives following error:\r\n\r\nD:\\IntecProject\\presemo-v4\\app\\lib\\BlockBuilderSync.js:975                                                          throw e;                                                                                                          ^                                                                                             Error: EPERM, operation not permitted 'D:\\IntecProject\\presemo-v4\\public\\assets\\pollplus'                       at Error (native)                                                                                           at Object.fs.symlinkSync (fs.js:848:18)                                                                     at ensureSymlink (D:\\IntecProject\\presemo-v4\\app\\lib\\BlockBuilderSync.js:967:10)                            at D:\\IntecProject\\presemo-v4\\app\\node_modules\\async\\lib\\async.js:595:21                                    at D:\\IntecProject\\presemo-v4\\app\\node_modules\\async\\lib\\async.js:235:13                                    at iterate (D:\\IntecProject\\presemo-v4\\app\\node_modules\\async\\lib\\async.js:142:13)                          at D:\\IntecProject\\presemo-v4\\app\\node_modules\\async\\lib\\async.js:153:25                                    at D:\\IntecProject\\presemo-v4\\app\\node_modules\\async\\lib\\async.js:237:17                                    at D:\\IntecProject\\presemo-v4\\app\\node_modules\\async\\lib\\async.js:600:34                                    at done (D:\\IntecProject\\presemo-v4\\app\\node_modules\\async\\lib\\async.js:128:19)  "},"comment":{"url":"https://api.github.com/repos/presemo/presemo-v4/issues/comments/146783236","html_url":"https://github.com/presemo/presemo-v4/issues/2#issuecomment-146783236","issue_url":"https://api.github.com/repos/presemo/presemo-v4/issues/2","id":146783236,"user":{"login":"plievone","id":134936,"avatar_url":"https://avatars.githubusercontent.com/u/134936?v=3","gravatar_id":"","url":"https://api.github.com/users/plievone","html_url":"https://github.com/plievone","followers_url":"https://api.github.com/users/plievone/followers","following_url":"https://api.github.com/users/plievone/following{/other_user}","gists_url":"https://api.github.com/users/plievone/gists{/gist_id}","starred_url":"https://api.github.com/users/plievone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plievone/subscriptions","organizations_url":"https://api.github.com/users/plievone/orgs","repos_url":"https://api.github.com/users/plievone/repos","events_url":"https://api.github.com/users/plievone/events{/privacy}","received_events_url":"https://api.github.com/users/plievone/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T07:46:09Z","updated_at":"2015-10-09T07:46:09Z","body":"Hi! Thanks for trying it out in windows, and good to hear that it works. I now added the db dir to git repo to prevent that startup error. There might still be some permission problems in your setup, perhaps node may have been installed/run with different users/permissions. Presemo touches repo/build, repo/db, repo/public/assets and if one runs with different permissions the generated files may then be inaccessible to later runs with different permissions. Perhaps best to start with a clean git clone.\r\n\r\nIf you need to change the port in config.json to a lower port that needs elevated permissions, it is better to run nginx or some other proxy in front of it and keep presemo in higher ports.\r\n\r\nFeel free to reopen the issue if you have problems!"}}