I'm a beginner in angular2, I'm following different bits of tutorials. Below is the structure of their files:
Link of tutorial relative to image below:
https://www.udemy.com/ultimate-angular-2/learn/v4/t/lecture/5723842
Link of tutorial relative to image below:
https://www.youtube.com/watch?v=DBjPIabiRNg
Mine is different it's missing the config, dist, node_modules, tmp and typings folder:
I'm using these versions:
$node -v
v6.6.0
$npm -v
3.10.7
$ng -v
angular-cli: 1.0.0-beta.15
node: 6.6.0
os: darwin x64
Error of the angular-cli installation:
https://gist.github.com/kim-montano/df9d492ce83768b744fc9a5f6d8bf498
Steps I did:
- Downloaded: https://nodejs.org/en/download/current/
- I ran this command: $ npm install -g angular-cli
- Went to a folder in the documents where I want the angular2 project to appear.
- Typed this: ng new first-app