{"action":"closed","issue":{"url":"https://api.github.com/repos/joeferraro/MavensMate-Atom/issues/125","labels_url":"https://api.github.com/repos/joeferraro/MavensMate-Atom/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/joeferraro/MavensMate-Atom/issues/125/comments","events_url":"https://api.github.com/repos/joeferraro/MavensMate-Atom/issues/125/events","html_url":"https://github.com/joeferraro/MavensMate-Atom/issues/125","id":53138383,"number":125,"title":"Windows error when creating new project: \"Uncaught Error: ENOTEMPTY, directory not empty 'c:\\Users\\TTaylor\\Documents\\mmworkspace\\Trailhead Org\\unpackaged\\staticresources'\"","user":{"login":"tet3","id":1319826,"avatar_url":"https://avatars.githubusercontent.com/u/1319826?v=3","gravatar_id":"","url":"https://api.github.com/users/tet3","html_url":"https://github.com/tet3","followers_url":"https://api.github.com/users/tet3/followers","following_url":"https://api.github.com/users/tet3/following{/other_user}","gists_url":"https://api.github.com/users/tet3/gists{/gist_id}","starred_url":"https://api.github.com/users/tet3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tet3/subscriptions","organizations_url":"https://api.github.com/users/tet3/orgs","repos_url":"https://api.github.com/users/tet3/repos","events_url":"https://api.github.com/users/tet3/events{/privacy}","received_events_url":"https://api.github.com/users/tet3/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joeferraro/MavensMate-Atom/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/joeferraro/MavensMate-Atom/labels/windows","name":"windows","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2014-12-30T19:05:11Z","updated_at":"2015-09-22T04:25:53Z","closed_at":"2015-09-22T04:25:53Z","body":"Win 7 x64, Atom 0.165.0, MM-Atom 0.0.14\r\n\r\nThis is a new project, so the project directory doesn't exist when starting the project creation. There is a single ZIP file in Static Resources. \r\n\r\nRemoving StaticResource from the Mm default subscription doesn't seem to change this behavior, neither does removing .resource from the Mm apex file extensions setting. \r\n\r\nOnce I close the error message, there is a project directory, with an unpackaged and unpackaged\\staticresources folder, that has a .resource file in it. There is no config or src directory. \r\n\r\nAdditionally, the \"report an issue on the MavensMate-Atom project\" button at the bottom of the error message opens a git.io URL that generates a 404.\r\n\r\nError message with stack trace:\r\n```\r\nUncaught Error: ENOTEMPTY, directory not empty 'c:\\Users\\TTaylor\\Documents\\mmworkspace\\Trailhead Org\\unpackaged\\staticresources'\r\nc:\\Users\\TTaylor\\.atom\\packages\\MavensMate-Atom\\node_modules\\mavensmate\\node_modules\\q\\node_modules\\asap\\asap.js:45\r\n\r\nError: ENOTEMPTY, directory not empty 'c:\\Users\\TTaylor\\Documents\\mmworkspace\\Trailhead Org\\unpackaged\\staticresources'\r\n  at Error (native)\r\n  at Object.fs.rmdirSync (fs.js:649:18)\r\n  at rmkidsSync (c:\\Users\\TTaylor\\AppData\\Local\\atom\\app-0.165.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:247:11)\r\n  at rmdirSync (c:\\Users\\TTaylor\\AppData\\Local\\atom\\app-0.165.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:237:7)\r\n  at fixWinEPERMSync (c:\\Users\\TTaylor\\AppData\\Local\\atom\\app-0.165.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:150:5)\r\n  at rimrafSync (c:\\Users\\TTaylor\\AppData\\Local\\atom\\app-0.165.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:216:26)\r\n  at c:\\Users\\TTaylor\\AppData\\Local\\atom\\app-0.165.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:245:5\r\n  at Array.forEach (native)\r\n  at rmkidsSync (c:\\Users\\TTaylor\\AppData\\Local\\atom\\app-0.165.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:244:26)\r\n  at rmdirSync (c:\\Users\\TTaylor\\AppData\\Local\\atom\\app-0.165.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:237:7)\r\n  at fixWinEPERMSync (c:\\Users\\TTaylor\\AppData\\Local\\atom\\app-0.165.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:150:5)\r\n  at rimrafSync (c:\\Users\\TTaylor\\AppData\\Local\\atom\\app-0.165.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:216:26)\r\n  at c:\\Users\\TTaylor\\AppData\\Local\\atom\\app-0.165.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:245:5\r\n  at Array.forEach (native)\r\n  at rmkidsSync (c:\\Users\\TTaylor\\AppData\\Local\\atom\\app-0.165.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:244:26)\r\n  at rmdirSync (c:\\Users\\TTaylor\\AppData\\Local\\atom\\app-0.165.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:237:7)\r\n  at fixWinEPERMSync (c:\\Users\\TTaylor\\AppData\\Local\\atom\\app-0.165.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:150:5)\r\n  at Function.rimrafSync (c:\\Users\\TTaylor\\AppData\\Local\\atom\\app-0.165.0\\resources\\app\\node_modules\\fs-plus\\node_modules\\rimraf\\rimraf.js:216:26)\r\n  at Object.rmrfSync (c:\\Users\\TTaylor\\.atom\\packages\\MavensMate-Atom\\node_modules\\mavensmate\\node_modules\\fs-extra\\lib\\remove.js:7:19)\r\n  at c:\\Users\\TTaylor\\.atom\\packages\\MavensMate-Atom\\node_modules\\mavensmate\\lib\\mavensmate\\project.js:304:14\r\n  at Promise_then_rejected (c:\\Users\\TTaylor\\.atom\\packages\\MavensMate-Atom\\node_modules\\mavensmate\\node_modules\\q\\q.js:780:43)\r\n  at Promise_done_rejected (c:\\Users\\TTaylor\\.atom\\packages\\MavensMate-Atom\\node_modules\\mavensmate\\node_modules\\q\\q.js:862:26)\r\n  at Rejected_then [as then] (c:\\Users\\TTaylor\\.atom\\packages\\MavensMate-Atom\\node_modules\\mavensmate\\node_modules\\q\\q.js:1324:23)\r\n  at Rejected_dispatch [as dispatch] (c:\\Users\\TTaylor\\.atom\\packages\\MavensMate-Atom\\node_modules\\mavensmate\\node_modules\\q\\q.js:1312:23)\r\n  at Pending_become_eachMessage_task (c:\\Users\\TTaylor\\.atom\\packages\\MavensMate-Atom\\node_modules\\mavensmate\\node_modules\\q\\q.js:1370:30)\r\n  at flush (c:\\Users\\TTaylor\\.atom\\packages\\MavensMate-Atom\\node_modules\\mavensmate\\node_modules\\q\\node_modules\\asap\\asap.js:27:13)\r\n  at process._tickDomainCallback (node.js:409:11)\r\n```"}}