Installing Angular CLI

  Рет қаралды 20,862

Duncan Hunter

Duncan Hunter

7 жыл бұрын

This is a demonstration on how to install the Angular CLI and some common trouble shooting tips.

Пікірлер: 15
@dennisfett
@dennisfett 7 жыл бұрын
Great introductory video!
@dredamonsta1
@dredamonsta1 5 жыл бұрын
Hi Duncan I hav installed angular cli 6.2.2 and node 8.12.0. I tried to ng serve and i received "Could not find API compiler-cli" thank you for taking the time to read this any suggestion appreciated.
@duncanhunter9025
@duncanhunter9025 5 жыл бұрын
Hi Very hard to debug remotely. I would suggest trying the following if you do not already have a solution. 1. Make sure you are not installing the project on the root of your machine like your C drive on windows. 2. Uninstall the Angular CLI and reinstall in with npm uninstall @angular/cli Check your global version and npm packages in general to make sure nothing stale is installed with the command npm list -g --depth=0 3. Reinstall Angular CLI 4. Re make the angular project fro scratch in a new folder with ng new YOURAPPNAME
@dredamonsta1
@dredamonsta1 5 жыл бұрын
first thank you for taking the time to reply. I am checking in now the good thing is i have the current lts version of node im going to uninstall and update on progress
@dredamonsta1
@dredamonsta1 5 жыл бұрын
Kinda fixed but I have to use my build at the moment. The issue might be due to older dependencies on my Mac so I am going delete everything and install again
@akashpotdar6841
@akashpotdar6841 6 жыл бұрын
I'm getting permission denial issues. Can you pls help.
@akashpotdar6841
@akashpotdar6841 6 жыл бұрын
Rohit Bhambhani yes. So the directory where npm is written is basically root, we need to change the owner to the preferred user.
@spongebob2626
@spongebob2626 5 жыл бұрын
what about: ng: command not found (Mac OS) ??
@duncanhunter9025
@duncanhunter9025 5 жыл бұрын
Vetr hard to debug with so little info I recommend trying stack overflow after doing a free install and removing any old versions
@sajjanm01
@sajjanm01 5 жыл бұрын
i reckon you havent installed nodejs. please do that first
@krishnachaitanya7349
@krishnachaitanya7349 5 жыл бұрын
ng -v -bash: ng: command not found Please help me in mac. I followed the video, but unable to solve this problem
@duncanhunter9025
@duncanhunter9025 5 жыл бұрын
hi I wish I could helo but debugging your machine from here is a little tricky. I recommend following these steps angular.io/cli Sounds like the npm install did not add the cli or your path was not correctly updated
@jeffarnold96
@jeffarnold96 5 жыл бұрын
try ng --version
@jhonhernandez9210
@jhonhernandez9210 5 жыл бұрын
Deprecated
Introduction to Internationalization in Angular
13:04
Angular
Рет қаралды 121 М.
No empty
00:35
Mamasoboliha
Рет қаралды 9 МЛН
Llegó al techo 😱
00:37
Juan De Dios Pantoja
Рет қаралды 58 МЛН
Best Toilet Gadgets and #Hacks you must try!!💩💩
00:49
Poly Holy Yow
Рет қаралды 21 МЛН
IQ Level: 10000
00:10
Younes Zarou
Рет қаралды 10 МЛН
What is a REST API?
9:12
IBM Technology
Рет қаралды 1,5 МЛН
Make Instantly AWESOME Designs with These Rules!
9:23
Satori Graphics
Рет қаралды 7 М.
Why didn't the Angular team just use RxJS instead of Signals?
8:15
Joshua Morony
Рет қаралды 90 М.
XG 5000 [ SCALE INSTRUCTION ] PROGRAMMING
6:44
PLC AND HMI TUTORIAL
Рет қаралды 77
Dockerize .NET 6 in 10 Minutes
13:33
Wes Doyle
Рет қаралды 139 М.
Testing Angular 2 in 15min
14:24
Duncan Hunter
Рет қаралды 20 М.
Full stack web UI with Blazor in .NET 8 | .NET Conf 2023
55:56
Вырезанная Сцена Кавказская Пленница #shorts
0:46
Интересненько
Рет қаралды 1,9 МЛН
Сестра раскрыла тайну для брата 😱
0:42
Фильмы I Сериалы
Рет қаралды 2,4 МЛН