32955 silly generateActionsToTake Starting
32956 silly install generateActionsToTake
32957 warn checkPermissions Missing write access to /usr/local/lib
32958 silly rollbackFailedOptional Starting
32959 silly rollbackFailedOptional Finishing
32960 silly runTopLevelLifecycles Starting
32961 silly runTopLevelLifecycles Finishing
32962 silly install printInstalled
32963 warn optional Skipping failed optional dependency /@angular/cli/chokidar/fsevents:
32964 warn notsup Not compatible with your operating system or architecture: fsevents@1.1.2
32965 verbose stack Error: EACCES: permission denied, access '/usr/local/lib'
32965 verbose stack at Error (native)
32966 verbose cwd /home/user
32967 error Linux 4.8.0-58-generic
32968 error argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "@angular/cli"
32969 error node v4.2.6
32970 error npm v3.5.2
32971 error path /usr/local/lib
32972 error code EACCES
32973 error errno -13
32974 error syscall access
32975 error Error: EACCES: permission denied, access '/usr/local/lib'
32975 error at Error (native)
32975 error { [Error: EACCES: permission denied, access '/usr/local/lib']
32975 error errno: -13,
32975 error code: 'EACCES',
32975 error syscall: 'access',
32975 error path: '/usr/local/lib' }
32976 error Please try running this command again as root/Administrator.
32977 verbose exit [ -13, true ]
maybe?
npm install -g @angular/cli should have been sudo npm install -g @angular/cli ?
WARN engine @angular/cli@1.2.1: wanted: {"node":">= 6.9.0","npm":">= 3.0.0"} (current: {"node":"4.2.6","npm":"3.5.2"})
https://github.com/angular/angular-cli/issues/6140
Looks like you've got node v4.2.6 installed. AngularCLI requires >= 6.9.0. Go to https://nodejs.org/en/ and download the latest version.
but F**** linux shitty mint installed that old version !!
32956 silly install generateActionsToTake
32957 warn checkPermissions Missing write access to /usr/local/lib
32958 silly rollbackFailedOptional Starting
32959 silly rollbackFailedOptional Finishing
32960 silly runTopLevelLifecycles Starting
32961 silly runTopLevelLifecycles Finishing
32962 silly install printInstalled
32963 warn optional Skipping failed optional dependency /@angular/cli/chokidar/fsevents:
32964 warn notsup Not compatible with your operating system or architecture: fsevents@1.1.2
32965 verbose stack Error: EACCES: permission denied, access '/usr/local/lib'
32965 verbose stack at Error (native)
32966 verbose cwd /home/user
32967 error Linux 4.8.0-58-generic
32968 error argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "@angular/cli"
32969 error node v4.2.6
32970 error npm v3.5.2
32971 error path /usr/local/lib
32972 error code EACCES
32973 error errno -13
32974 error syscall access
32975 error Error: EACCES: permission denied, access '/usr/local/lib'
32975 error at Error (native)
32975 error { [Error: EACCES: permission denied, access '/usr/local/lib']
32975 error errno: -13,
32975 error code: 'EACCES',
32975 error syscall: 'access',
32975 error path: '/usr/local/lib' }
32976 error Please try running this command again as root/Administrator.
32977 verbose exit [ -13, true ]
maybe?
npm install -g @angular/cli should have been sudo npm install -g @angular/cli ?
WARN engine @angular/cli@1.2.1: wanted: {"node":">= 6.9.0","npm":">= 3.0.0"} (current: {"node":"4.2.6","npm":"3.5.2"})
https://github.com/angular/angular-cli/issues/6140
Looks like you've got node v4.2.6 installed. AngularCLI requires >= 6.9.0. Go to https://nodejs.org/en/ and download the latest version.
but F**** linux shitty mint installed that old version !!
A simple way to upgrade Node.js from the Terminal is to use the n version manager:
- 1 npm install -g n 2 npm cache clean -f.
- 1 cd /Applications/XAMPP/xamppfiles/bin 2 sudo mv HEAD _HEAD.
- 1 sudo n stable 2 npm update -g.
- 1 cd /Applications/XAMPP/xamppfiles/bin 2 sudo mv _HEAD HEAD.
- 1 node -v 2 npm -v
this is what google gives me as an answer. I dont F** have xampp
https://davidwalsh.name/nvm
npm WARN optional Skipping failed optional dependency /@angular/cli/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.1.2
npm WARN optional Skipping failed optional dependency /@angular/cli/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.1.2
google show this link as top solution. cant understand shit on this link
https://github.com/LLK/scratch-blocks/issues/674