{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/code-push/issues/180","repository_url":"https://api.github.com/repos/Microsoft/code-push","labels_url":"https://api.github.com/repos/Microsoft/code-push/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/code-push/issues/180/comments","events_url":"https://api.github.com/repos/Microsoft/code-push/issues/180/events","html_url":"https://github.com/Microsoft/code-push/issues/180","id":143018999,"number":180,"title":"code-push-cli@latest Path must be a string. Received ' + ","user":{"login":"rajeevkannav","id":331827,"avatar_url":"https://avatars.githubusercontent.com/u/331827?v=3","gravatar_id":"","url":"https://api.github.com/users/rajeevkannav","html_url":"https://github.com/rajeevkannav","followers_url":"https://api.github.com/users/rajeevkannav/followers","following_url":"https://api.github.com/users/rajeevkannav/following{/other_user}","gists_url":"https://api.github.com/users/rajeevkannav/gists{/gist_id}","starred_url":"https://api.github.com/users/rajeevkannav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajeevkannav/subscriptions","organizations_url":"https://api.github.com/users/rajeevkannav/orgs","repos_url":"https://api.github.com/users/rajeevkannav/repos","events_url":"https://api.github.com/users/rajeevkannav/events{/privacy}","received_events_url":"https://api.github.com/users/rajeevkannav/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-03-23T16:57:10Z","updated_at":"2016-03-23T19:17:57Z","closed_at":null,"body":"\r\nToday we Got \r\n[Error]  Due to significant service improvements, your current CLI version is no longer supported.\r\nPlease upgrade to the latest version by running 'npm install -g code-push-cli@latest'.\r\n\r\nand we run `npm install -g code-push-cli@latest`\r\n\r\nNow when we're running this command code-push release headerlabs path/www 0.0.1 -d Staging  via Terminal everything goes fine.\r\n\r\nBut we have an php app which release code-push update by exactly same command \r\n\r\nand we're getting Error like this \r\n\r\n` \"path.js:8\",\r\n        \"    throw new TypeError('Path must be a string. Received ' +\",\r\n        \"    ^\",\r\n        \"\",\r\n        \"TypeError: Path must be a string. Received undefined\",\r\n        \"    at assertPath (path.js:8:11)\",\r\n        \"    at Object.posix.join (path.js:479:5)\",\r\n        \"    at Object.<anonymous> (/usr/lib/node_modules/code-push-cli/script/command-executor.js:23\r\n:27)\",\r\n        \"    at Module._compile (module.js:409:26)\",\r\n        \"    at Object.Module._extensions..js (module.js:416:10)\",\r\n        \"    at Module.load (module.js:343:32)\",\r\n        \"    at Function.Module._load (module.js:300:12)\",\r\n        \"    at Module.require (module.js:353:17)\",\r\n        \"    at require (internal/module.js:12:17)\",\r\n        \"    at Object.<anonymous> (/usr/lib/node_modules/code-push-cli/script/cli.js:4:26)\",\r\n        \"    at Module._compile (module.js:409:26)\",\r\n        \"    at Object.Module._extensions..js (module.js:416:10)\",\r\n        \"    at Module.load (module.js:343:32)\",\r\n        \"    at Function.Module._load (module.js:300:12)\",\r\n        \"    at Function.Module.runMain (module.js:441:10)\",\r\n        \"    at startup (node.js:139:18)\"`"},"comment":{"url":"https://api.github.com/repos/Microsoft/code-push/issues/comments/200502079","html_url":"https://github.com/Microsoft/code-push/issues/180#issuecomment-200502079","issue_url":"https://api.github.com/repos/Microsoft/code-push/issues/180","id":200502079,"user":{"login":"rajeevkannav","id":331827,"avatar_url":"https://avatars.githubusercontent.com/u/331827?v=3","gravatar_id":"","url":"https://api.github.com/users/rajeevkannav","html_url":"https://github.com/rajeevkannav","followers_url":"https://api.github.com/users/rajeevkannav/followers","following_url":"https://api.github.com/users/rajeevkannav/following{/other_user}","gists_url":"https://api.github.com/users/rajeevkannav/gists{/gist_id}","starred_url":"https://api.github.com/users/rajeevkannav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajeevkannav/subscriptions","organizations_url":"https://api.github.com/users/rajeevkannav/orgs","repos_url":"https://api.github.com/users/rajeevkannav/repos","events_url":"https://api.github.com/users/rajeevkannav/events{/privacy}","received_events_url":"https://api.github.com/users/rajeevkannav/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T19:17:57Z","updated_at":"2016-03-23T19:17:57Z","body":"You Mean \r\n`putenv(\"HOME=/root\")`\r\n`exec(\"ls -l $HOME/.code-push.config\")`\r\n\r\n??\r\n\r\nUndefined variable: $HOME"}}