mercredi 18 février 2015

How to generate AngularJS project?

Help, generate project for angular. I installed node.js v0.12 using homebrew, npm v2.5.1. Next I installed the yeoman and generator-angular. Began to generate project using the command:



yo angular


but it is not established as necessary node.js >= v0.12.0 and npm v2.5.1 and more. I deleted everything, downloaded v0.10.34 from the official website, but there version npm 1.4.6. I tried to update using the command:



npm install npm -g


but it gives an error and then any command npm:



npm: command not found


How to solve the problem?


Aucun commentaire:

Enregistrer un commentaire