Happened on -
Windows 7
node 0.12.7
npm 2.11.3
Steps to reproduce:
npm install -g angular-cli
ng new myproject
ng serve
This is the error I'm getting -
D:\myproject\node_modules\angular-cli-github-pages\lib\commands\deploy.js:50
return runCommand('git status --porcelain', execOptions).then(stdout => {
^^
SyntaxError: Unexpected token =>
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Class.module.exports.includedCommands (D:\myproject\node_modules\angular-cli-github-pages\index.js:9:30)
at D:\myproject\node_modules\angular-cli\node_modules\ember-cli\lib\models\project.js:393:61
at Array.forEach (native)
Happened on -
Windows 7
node 0.12.7
npm 2.11.3
Steps to reproduce:
npm install -g angular-cling new myprojectng serveThis is the error I'm getting -