{"action":"closed","issue":{"url":"https://api.github.com/repos/armin-pfaeffle/sass-autocompile/issues/76","repository_url":"https://api.github.com/repos/armin-pfaeffle/sass-autocompile","labels_url":"https://api.github.com/repos/armin-pfaeffle/sass-autocompile/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/armin-pfaeffle/sass-autocompile/issues/76/comments","events_url":"https://api.github.com/repos/armin-pfaeffle/sass-autocompile/issues/76/events","html_url":"https://github.com/armin-pfaeffle/sass-autocompile/issues/76","id":163129858,"number":76,"title":"spawn cmd.exe ENOENT","user":{"login":"harudagondi","id":14072899,"avatar_url":"https://avatars.githubusercontent.com/u/14072899?v=3","gravatar_id":"","url":"https://api.github.com/users/harudagondi","html_url":"https://github.com/harudagondi","followers_url":"https://api.github.com/users/harudagondi/followers","following_url":"https://api.github.com/users/harudagondi/following{/other_user}","gists_url":"https://api.github.com/users/harudagondi/gists{/gist_id}","starred_url":"https://api.github.com/users/harudagondi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harudagondi/subscriptions","organizations_url":"https://api.github.com/users/harudagondi/orgs","repos_url":"https://api.github.com/users/harudagondi/repos","events_url":"https://api.github.com/users/harudagondi/events{/privacy}","received_events_url":"https://api.github.com/users/harudagondi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-06-30T10:12:36Z","updated_at":"2016-11-30T05:48:01Z","closed_at":"2016-11-30T05:48:01Z","body":"Having issues with sass-autocompile.\n\nWin7\n\nAdded C:\\Windows\\System32 in %PATH%\nInstalled node-sass with -g\nPath to 'node-sass' command:\n``\n\nnode-sass --version >nul 2>&1 && (echo found) || (echo fail)\nOutput: `found`\n\n```\nvar exec = require('child_process').exec;\nvar command = 'echo \"test\"';\nexec(command, { env: Object.create(process.env) }, function(a, b, c) {\n    console.log(a);\n    console.log(b);\n    console.log(c);\n});\n```\n\nOutput:\n\n```\nChildProcess {domain: null, _events: Object, _eventsCount: 2, _maxListeners: undefined, _closesNeeded: 3…}\n_closesGot: 3\n_closesNeeded: 3\n_events: Object\n_eventsCount: 2\n_handle: null\n_maxListeners: undefined\nconnected: false\ndomain: null\nexitCode: -4058\nkilled: false\npid: undefined\nsignalCode: null\nspawnargs: Array[4]\nspawnfile: \"cmd.exe\"\nstderr: Socket\nstdin: Socket\nstdio: Array[3]\nstdout: Socket\n__proto__: ChildProcess\n```\n\n```\nvar exec = require('child_process').exec;\nvar command = 'node-sass --version >nul 2>&1 && (echo found) || (echo fail)';\nexec(command, { env: Object.create(process.env) }, function(a, b, c) {\n    console.log(a);\n    console.log(b);\n    console.log(c);\n});\n```\n\nOutput:\n\n```\nChildProcess {domain: null, _events: Object, _eventsCount: 2, _maxListeners: undefined, _closesNeeded: 3…}\n_closesGot: 3\n_closesNeeded: 3\n_events: Object\n_eventsCount: 2\n_handle: null\n_maxListeners: undefined\nconnected: false\ndomain: null\nexitCode: -4058\nkilled: false\npid: undefined\nsignalCode: null\nspawnargs: Array[4]\nspawnfile: \"cmd.exe\"\nstderr: Socket\nstdin: Socket\nstdio: Array[3]\nstdout: Socket\n__proto__: ChildProcess\n```\n\n```\nvar exec = require('child_process').exec;\nvar command = 'node --version';\nexec(command, { env: Object.create(process.env) }, function(a, b, c) {\n    console.log(a);\n    console.log(b);\n    console.log(c);\n});\n```\n\nOutput:\n\n```\nChildProcess {domain: null, _events: Object, _eventsCount: 2, _maxListeners: undefined, _closesNeeded: 3…}\n_closesGot: 3\n_closesNeeded: 3\n_events: Object\n_eventsCount: 2\n_handle: null\n_maxListeners: undefined\nconnected: false\ndomain: null\nexitCode: -4058\nkilled: false\npid: undefined\nsignalCode: null\nspawnargs: Array[4]\nspawnfile: \"cmd.exe\"\nstderr: Socket\nstdin: Socket\nstdio: Array[3]\nstdout: Socket\n```\n\nhttps://github.com/armin-pfaeffle/sass-autocompile/issues/63\n`Replace compiler.coffee`\nOutput:\n\n```\nObject {command: \"node-sass --output-style compressed --indent-type …MMING\\PROJECTS\\lexically\\static\\css\\main.min.css\"\", environment: Object}command: \"node-sass --output-style compressed --indent-type space --indent-width 2 --precision 5 \"D:\\PROGRAMMING\\PROJECTS\\lexically\\static\\css\\main.scss\" \"D:\\PROGRAMMING\\PROJECTS\\lexically\\static\\css\\main.min.css\"\"environment: Object__proto__: ObjectALLUSERSPROFILE: \"C:\\ProgramData\"AMDAPPSDKROOT: \"C:\\Program Files (x86)\\AMD APP\\\"APPDATA: \"C:\\Users\\<User>\\AppData\\Roaming\"ATOM_HOME: \"C:\\Users\\<User>\\.atom\"CLASSPATH: \".;C:\\Program Files (x86)\\Java\\jre7\\lib\\ext\\QTJava.zip\"COMPUTERNAME: \"<NAME>\"ComSpec: \"C:\\Windows\\system32\\cmd.exe\"CommonProgramFiles: \"C:\\Program Files (x86)\\Common Files\"CommonProgramFiles(x86): \"C:\\Program Files (x86)\\Common Files\"CommonProgramW6432: \"C:\\Program Files\\Common Files\"FP_NO_HOST_CHECK: \"NO\"GOOGLE_API_KEY: \"<GAK>\"HOMEDRIVE: \"C:\"HOMEPATH: \"\\Users\\<User>\"LOCALAPPDATA: \"C:\\Users\\<User>\\AppData\\Local\"LOGONSERVER: \"\\\\<NAME>\"NODE_ENV: \"production\"NODE_PATH: \"C:\\Users\\<User>\\AppData\\Local\\atom\\app-1.7.4\\resources\\app.asar\\exports\"NUMBER_OF_PROCESSORS: \"2\"OS: \"Windows_NT\"PATH: \"/usr/local/bin:\"PATHEXT: \".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.RB;.RBW;.PY\"PROCESSOR_ARCHITECTURE: \"x86\"PROCESSOR_ARCHITEW6432: \"AMD64\"PROCESSOR_IDENTIFIER: \"AMD64 Family 15 Model 107 Stepping 2, AuthenticAMD\"PROCESSOR_LEVEL: \"15\"PROCESSOR_REVISION: \"6b02\"PROMPT: \"$P$G\"PSModulePath: \"C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\\"PUBLIC: \"C:\\Users\\Public\"Path: \"C:\\Python34\\;C:\\Python34\\Scripts;C:\\Ruby22\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files\\Common Files\\Microsoft Shared\\Windows Live;C:\\Program Files (x86)\\Common Files\\Microsoft Shared\\Windows Live;C:\\Program Files (x86)\\AMD APP\\bin\\x86_64;C:\\Program Files (x86)\\AMD APP\\bin\\x86;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\ATI Technologies\\ATI.ACE\\Core-Static;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;C:\\Program Files (x86)\\Microsoft SQL Server\\90\\Tools\\binn\\;C:\\Program Files (x86)\\Windows Live\\Shared;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\120\\Tools\\Binn\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\nodejs\\;C:\\Users\\<User>\\AppData\\Local\\atom\\bin;C:\\Users\\<User>\\AppData\\Roaming\\npm;C:\\Windows\\System32\"ProgramData: \"C:\\ProgramData\"ProgramFiles: \"C:\\Program Files (x86)\"ProgramFiles(x86): \"C:\\Program Files (x86)\"ProgramW6432: \"C:\\Program Files\"QTJAVA: \"C:\\Program Files (x86)\\Java\\jre7\\lib\\ext\\QTJava.zip\"SESSIONNAME: \"Console\"SystemDrive: \"C:\"SystemRoot: \"C:\\Windows\"TEMP: \"C:\\Users\\<User>\\AppData\\Local\\Temp\"TMP: \"C:\\Users\\<User>\\AppData\\Local\\Temp\"USERDOMAIN: \"<NAME>\"USERNAME: \"<User>\"USERPROFILE: \"C:\\Users\\<User>\"VS120COMNTOOLS: \"C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\Common7\\Tools\\\"windir: \"C:\\Windows\"__proto__: Object__proto__: Object__defineGetter__: __defineGetter__()__defineSetter__: __defineSetter__()__lookupGetter__: __lookupGetter__()__lookupSetter__: __lookupSetter__()constructor: Object()hasOwnProperty: hasOwnProperty()isPrototypeOf: isPrototypeOf()propertyIsEnumerable: propertyIsEnumerable()toLocaleString: toLocaleString()toString: toString()valueOf: valueOf()get __proto__: get __proto__()set __proto__: set __proto__()\ncompiler.coffee:552 Error: spawn cmd.exe ENOENT\n    at exports._errnoException (util.js:856:11)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)\n    at onErrorNT (internal/child_process.js:344:16)\n    at doNTCallback2 (node.js:465:9)\n    at process._tickCallback (node.js:379:17)\n```\n"}}
{"actor":{"display_login":"harudagondi"}}