ipavlyk
ipavlyk
open ~/.zshrc alias ng="~/lib/node_modules/@angular/cli/bin/ng"
Also posible solution is to reexport (or to verify) path to your .../usr/bin: > export PATH=$HOME/bin:$PATH
I was talking about bin folder which contains refs on cli(s).
> FWIW, the relevant code is as below in (this source file)[https://github.com/angular/angular-cli/blob/44086c60ff1d6c26d30850bef125120f6c498ac1/packages/ngtools/webpack/src/ngtools_api.ts]: > > ``` > compilerCli = require('@angular/compiler-cli'); > > export const VERSION: typeof ngc.VERSION = > compilerCli >...
@llafuente, I spent a lot of time searching for solution and got nothing. But your post save a lot of my time. Thx a lot, man)
[macOS Sierra] I did everything ns documentation says and got the same error. But after i ran command: export JAVA_HOME="$(/usr/libexec/java_home -v 1.8)" in terminal - everything works fine.