I've installed the newest version of nodejs
from their website. After that, I createt a folder, opened the command line in my folder and executet follow command to insall angular-cli
:
npm install -g @angular/cli@latest
It was successfully created. Than I executet follow command to create a new project:
ng new ng2-demo -- style scss
It also was successfully createt. Than I switched into my project folder with cd ng2-demo
and executet follow command:
ng serve
It didnt work. I get follow error message: You have to be inside an Angular CLI project in order to use the serve command.
I noticed, that my project folder ng2-demo is empty, this seems not to be right. I did everything step by step like in the description on github, whats wrong? I tried some possible solutions that I find here like uninstalling angular-cli and clean it and install it again, but it didn't helped. Any ideas?
via MrBuggy
No comments:
Post a Comment