{"action":"closed","issue":{"url":"https://api.github.com/repos/Hashnode/mern-starter/issues/12","repository_url":"https://api.github.com/repos/Hashnode/mern-starter","labels_url":"https://api.github.com/repos/Hashnode/mern-starter/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/Hashnode/mern-starter/issues/12/comments","events_url":"https://api.github.com/repos/Hashnode/mern-starter/issues/12/events","html_url":"https://github.com/Hashnode/mern-starter/issues/12","id":134514565,"number":12,"title":"npm start cannot start the app on Windows","user":{"login":"aneeshd16","id":5436027,"avatar_url":"https://avatars.githubusercontent.com/u/5436027?v=3","gravatar_id":"","url":"https://api.github.com/users/aneeshd16","html_url":"https://github.com/aneeshd16","followers_url":"https://api.github.com/users/aneeshd16/followers","following_url":"https://api.github.com/users/aneeshd16/following{/other_user}","gists_url":"https://api.github.com/users/aneeshd16/gists{/gist_id}","starred_url":"https://api.github.com/users/aneeshd16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aneeshd16/subscriptions","organizations_url":"https://api.github.com/users/aneeshd16/orgs","repos_url":"https://api.github.com/users/aneeshd16/repos","events_url":"https://api.github.com/users/aneeshd16/events{/privacy}","received_events_url":"https://api.github.com/users/aneeshd16/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Hashnode/mern-starter/labels/up-for-grabs","name":"up-for-grabs","color":"00bcd4"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-18T08:41:33Z","updated_at":"2016-02-18T08:52:36Z","closed_at":"2016-02-18T08:52:36Z","body":"The environment variable NODE_ENV cannot be set via the `npm start` command\r\n```\r\nPS B:\\Projects\\MERN\\testApp> npm start\r\n\r\n> mern-starter@1.0.0 start B:\\Projects\\MERN\\testApp\r\n> NODE_ENV=development node index.js\r\n\r\n'NODE_ENV' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n```\r\n\r\nUsing powershell on Windows 10. Does not work with cmd either.\r\n\r\nNeed to investigate a cross platform method for setting the environment variables and starting the server."}}