angular-cli


Getting error after Angular cli update


My anglar cli vesion was beta.16
I try to update by following command
npm uninstall -g angular-cli #angular/cli
npm cache clean
npm install -g #angular/cli#latest
after succesfully install when i try to run any ng command
ng version
ng help
i am getting this error
ng help
/usr/local/lib/node_modules/#angular/cli/models/config/config.js:15
constructor(_configPath, schema, configJson, fallbacks = []) {
^
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.<anonymous> (/usr/local/lib/node_modules/#angular/cli/models/config.js:2:18)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
You need Node version 6.x or higher
take a look here: https://github.com/angular/angular-cli/issues/4604

Related Links

Add importer to node-sass in angular-cli project
angular-cli#1.0.0-beta.23 (2016-12-15) NOT on npm
Angular cli for existing github project
How to pass config data to NgModule so NgModule will be compiled with AOT
Cloning a repo based on Angular CLI
How can I speed up Angular CLI Live Reload - 1-2 minutes per change
Generating a barrel when calling ng g component <myName>
Setting up tether-drop to work with angular-cli#1.0.0-beta.24
Angular CLI (AOT) gives error: ERROR in Cannot determine the module for class
Angular CLI - ng serve won't run unless I specify port
ERROR in Multistyles…Module not Found (Angular-cli.json)
Angular Cli support for inline templates and css
Angular Cli - How do I rebuild my project
How to change angular 2 port from 4200 to any other
Is autoprefixer active in angular-cli beta 19
How to use nconf with Angular CLI?

Categories

HOME
json
ember.js
project-management
jsviews
google-contacts
decorator
otrs
playframework
windows-store-apps
recyclerview
checksum
jframe
pjsip
wordpress-theming
xul
abcpdf
viber
local
typeahead
riak
opera-mini
zend-framework-mvc
propel2
android-fragmentactivity
flexboxgrid
scalaz7
tarantool
binutils
bootstrap-typeahead
pdfsharp
metadata-extractor
version-numbering
fetch-api
solidworks
dpi
aurelia-binding
sharp
crt
consumer
backup-strategies
ifstream
swiftcharts
modelandview
mapguide
service-locator
viewstate
freetts
jquery-multidatespicker
web-development-server
pytest-django
fqdn
recycle-bin
drawingarea
applepayjs
rollback
pluck
opencpu
emoticons
addin-express
date-range
redux-router
autoresize
sqldatareader
payu
manifest.mf
packagemaker
icefaces
slam-algorithm
listadapter
mercurial-hook
coordinate-transformation
multilingual-app-toolkit
spinlock
concur
flexjson
loose-typing
sonarqube5.3
throughput
hyperthreading
response-headers
team-build
pgm
es2015
python-ggplot
inputaccessoryview
formvalidation-plugin
snmp4j
docopt
code-testing
cppdepend
wss
bigint
.net-cf-3.5
layered
javascriptmvc
cgimageref
digital-design
trailing-slash
android-4.0
pitch
qsqltablemodel
moq-3
gdt
die
executable-format
authenticode
noir
nvelocity
.app
getresource
camtasia
file-encodings
evb

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App