angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Angular2 Installation

Open manigandansara opened this issue 9 years ago • 7 comments

npm -v 4.1.2 node -v v7.7.2

I have installed angular-CLI using this command

npm install -g @angular/cli

after installation i used this command

ng -v screenshot from 2017-03-10 11-45-35

Please resolve this if anyone is willing

manigandansara avatar Mar 10 '17 06:03 manigandansara

https://youtu.be/Mu6btqWZszg

try this hope it helps you!

psks1204 avatar Mar 10 '17 10:03 psks1204

@maniJoe you might have another binary by the name of ng. What's the output of which ng?

@psks1204 the issue tracker is meant to track issues and solutions, not to publicize youtube videos. Please stop posting your video on unrelated issues.

filipesilva avatar Mar 18 '17 00:03 filipesilva

@filipesilva $:which ng /usr/bin/ng

manigandansara avatar Mar 18 '17 04:03 manigandansara

Yeah I don't know what that ng is, but it doesn't look like the global Angular CLI ng, which should be in some node_modules. If you rename or get rid of that one you should be fine... although something in your machine might require it. Proceed at your own peril.

filipesilva avatar Mar 18 '17 16:03 filipesilva

@filipesilva When i type ng in linux i get this screen. i am unable to do anything

ng

manigandansara avatar Mar 23 '17 07:03 manigandansara

@maniJoe you have a binary called ng that is not Angular CLI, and when you run ng that's what runs instead. I don't know what it is, nor do I use Ubuntu in general, so I can't help you much there.

filipesilva avatar Mar 26 '17 20:03 filipesilva

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.