Angular 2 Tutorial #2 - Installing the Angular CLI

preview_player
Показать описание
Hey ninjas, in this Angular 2 tutorial for beginners, I'll show you how to install the angular CLI and how we can use it to create new projects in Angular 2. To install the Angular CLI, we'll need to use the node package manager.

----- COURSE LINKS:

---------------------------------------------------------------------------------------------
You can find more front-end development tutorials on CSS, HTML, JavaScript, jQuery, WordPress & more on the channel homepage...

========== PSD to WordPress Playlist ==========

============== The Net Ninja =====================

================== Social Links ==================

Рекомендации по теме
Комментарии
Автор

For anyone who's new to this video and is facing errors installing angular,
try: npm install -g @angular/cli
instead of what's shown in the video.

gwynbleidd
Автор

Hey, I love your videos! I'm currently using them to teach myself all the js front end frameworks you have tuts for so I can pick one for my new website (I had been using angular 1 so I figured on the new site learn some new stuff).

ATADSP
Автор

Great video man... when I ran "ng new directoryname" it created the project but I noticed mine dint come with some directory(config, public, typings).. what can I do to make it right??

vulehoan
Автор

on official website of Angular 2 it says that you need "NodeJS v5.x.x or higher and npm v3.x.x or higher", you pointed to download v4.x.x, could this be a problem?

DJLaCarone
Автор

I have an issue with "ng serve" it fails to compile. Do you have any idea how to fix it ? I have followed all of the steps before :)

leaticia
Автор

Thank u very much, I love your wonderful tutorial, and your amazing British accent

hmedosh
Автор

I see in the package.json file we are in RC4 ... later in the tutorial do we move to RC 5? Thanks

n.w
Автор

I'm getting this error when coomand ng serve:
"Tried to find bootstrap code, but could not. Specify either statically analyzabl
e bootstrap code or pass in an entryModule to the plugins options"

Any ideas?

tomergueta
Автор

If you're using the 'platformio-ide-teminal' in atom and possibly any other terminal addons to atom you might run into a problem when trying to run the 'ng serve' command. For some reason it doesn't work when I create the project using 'ng new' through the 'platfromio-ide-terminal' in atom. So just use cmd instead or the terminal on ios. I have no idea why it is this way maybe someone has the answer and can tell me, would be much appreciated.

Also, you only need to create the project through the cmd after that you can use the terminal in atom or whatever you use.

oskarjankowski
Автор

ng serve ==i got the following error you have to b insid the angilar -cli project in order to use the serve command "" why i sm gtting th following error hlp plz

mushtaqmushtaq
Автор

hello,

command ng new projectName or npm install serves the same purpose??

Thanks

pukka
Автор

im having "webpack failed to complie" after running ng serve. any solutions? thanks

kleavantjames
Автор

Package install failed, see above what kind of error is this ??
Plz help

navnathpolekar
Автор

'ng' is not recognized as an internal or external command,
operable program or batch file.
I am getting above error.Someone please help me!

sarath
Автор

i also do programming in node js. can i install node globally using -g keyword ?

nooname
Автор

Anyone know how close Angular 2.0 is to Angular 8? Is Angular 2.0 a good way to learn Angular 8 (e.g. because I think I need to know Angular 2.0 for Ionic).

influenceradsltd.
Автор

im getting this error message when i execute "ng serve":

"[default] Checking started in a separate process...
[default]
Cannot find name 'require'.
[default]
Cannot find name 'require'.
[default] Checking finished with 2 errors"



Can somebody please tell me whats going on?

cesarsaenz
Автор

ng is not recognized internal or external command in windows 7 64 bit

learnanywhere
Автор

Hi, Ninja. I did all what you do, and got an error. webpack: failed to compile. can you help me please? thanks a lot!

furqatbozorov
Автор

Just one question. Does this mean that angular 2 is actually backend? Because you just created a server using ng.

namahshrestha
visit shbcf.ru