coreui / coreui-free-bootstrap-admin-template

Free Bootstrap Admin & Dashboard Template
https://coreui.io/product/free-bootstrap-admin-template/
MIT License
11.98k stars 3.13k forks source link

Issue with running Angular CLI Full Project #126

Closed mastarenee closed 7 years ago

mastarenee commented 7 years ago

When I run ng serve I get the following error:

My node and npm versions are: 4.3.0

C:\Users\Username\applications\app\devtest\adminpanel\panel>ng serve C:\Users\Username\AppData\Roaming\npm\node_modules\angular-cli\node_modules\@ng tools\json-schema\src\schema-class-factory.js:34 result.push(...indices); ^^^

SyntaxError: Unexpected token ... at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:374:25) at Object.Module._extensions..js (module.js:417:10) at Module.load (module.js:344:32) at Function.Module._load (module.js:301:12) at Module.require (module.js:354:17) at require (internal/module.js:12:17) at Object. (C:\Users\Username\AppData\Roaming\npm\node_modules\a ngular-cli\node_modules\@ngtools\json-schema\src\index.js:3:30) at Module._compile (module.js:410:26) at Object.Module._extensions..js (module.js:417:10)

jabas06 commented 7 years ago

You're using outdated packages. Install node 6.X and the latest angular cli (npm install -g @angular/cli)

mastarenee commented 7 years ago

Thanks, that worked. I used it last month using the same version so I was wondering what happened.