I think this error is occuring when I select 'Yes' to Plugins
Output:
ok Install complete.
? Install Styles Yes
? Install Aurelia CLI Yes
? Install Aurelia Plugins Yes
? Install TypeScript Yes
? Visual Studio No
? Install UI Frameworks Yes
C:\Users\benla\AppData\Roaming\npm\node_modules\generator-aurelia-ts\generators\plugins\index.js:13
const maps = require('./maps');
^^^^^
SyntaxError: Use of const in strict mode.
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 Object.defineProperty.get as aurelia-ts:plugins
at Store.get (C:\Users\benla\AppData\Roaming\npm\node_modules\yo\node_modules\yeoman-environment\lib\store.js:64:35)
at Environment.get (C:\Users\benla\AppData\Roaming\npm\node_modules\yo\node_modules\yeoman-environment\lib\environment.js:242:21)
I changed line 13 from const to var and it worked..
But the I get another error:
C:\Users\benla\AppData\Roaming\npm\node_modules\generator-aurelia-ts\generators\plugins\util.js:17
return - [${entry.label}](${entry.repo});
^
SyntaxError: Unexpected token ILLEGAL
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 Object. (C:\Users\benla\AppData\Roaming\npm\node_modules\generator-aurelia-ts\generators\plugins\index.js:14:12)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
It looks like this javascript is ES6, but my version of node (v0.12.2) doesn't like it..
I think this error is occuring when I select 'Yes' to Plugins
Output:
ok Install complete. ? Install Styles Yes ? Install Aurelia CLI Yes ? Install Aurelia Plugins Yes ? Install TypeScript Yes ? Visual Studio No ? Install UI Frameworks Yes C:\Users\benla\AppData\Roaming\npm\node_modules\generator-aurelia-ts\generators\plugins\index.js:13 const maps = require('./maps'); ^^^^^ SyntaxError: Use of const in strict mode. 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 Object.defineProperty.get as aurelia-ts:plugins at Store.get (C:\Users\benla\AppData\Roaming\npm\node_modules\yo\node_modules\yeoman-environment\lib\store.js:64:35) at Environment.get (C:\Users\benla\AppData\Roaming\npm\node_modules\yo\node_modules\yeoman-environment\lib\environment.js:242:21)
I changed line 13 from const to var and it worked..
But the I get another error:
C:\Users\benla\AppData\Roaming\npm\node_modules\generator-aurelia-ts\generators\plugins\util.js:17 return (C:\Users\benla\AppData\Roaming\npm\node_modules\generator-aurelia-ts\generators\plugins\index.js:14:12)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
- [${entry.label}](${entry.repo})
; ^ SyntaxError: Unexpected token ILLEGAL 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 Object.It looks like this javascript is ES6, but my version of node (v0.12.2) doesn't like it..