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

Teamcity for building Angular cli app
angular cli update issue on local folder
Access to -aot parameter in code
Missing peer dependencies after installing latest angular-cli: What to do?
angular-cli ng serve : Error: No errors
Getting error after Angular cli update
Does angular-cli uses rollup to do ahead-of-time compilation and adding all into one file?
Angular CLI install error
Using glob for assets in angular-cli throws error
Importing Global SCSS into Component SCSS with Angular-CLI
Error during AOT build with angular-cli 24 and Angular 2.4.1
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

Categories

HOME
json
jdbc
sidekiq
plsql
jenkins-plugins
angular-cli
reportportal
amazon-product-api
recyclerview
snap.svg
file-io
triggers
jframe
shipping
constructor
google-shopping
automata
nuxt.js
typeahead
jquery-terminal
cairo
session-timeout
derived
zend-framework-mvc
primes
flexlm
apply
tcpclient
piwik
http-method
ui5
winscp
division
von-neumann
liquid-xml
zero
axis-labels
duktape
polyfills
lexical-analysis
service-fabric-stateful
rich-text-editor
prototypejs
chown
volume
etherpad
communication-protocol
sqlexception
laravel-query-builder
libreadline
software-product-lines
aescryptoserviceprovider
excon
asteriskami
windows-nt
com-interop
dac
financial
usb-drive
fill
servlet-3.0
void
self-hosting
file-diffs
lmfit
js-cookie
type-mismatch
bridge
isml
gulp-livereload
scrollspy
google-plus-one
android-search
moai
belongs-to
livechat
grunt-express
humanizer
code-testing
indexing-service
ng-hide
dig
gridworld
qss
zend-lucene
graph-coloring
xgettext
hobo
nintendo
testunit
collect
mvccontrib-grid
revert
pci-bus
plinq
scatterview
economics
gears
database-diagramming

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