-g/--global means install it globally, not in the project directory. I
don't know what sort of errors you are seeing, but you are most certainly
seeing warnings about those packages preferring to be installed globally.
The second time you install them may be skipping the warning since they are
already installed from the first time.

~Ryan

On Tue Feb 03 2015 at 10:02:50 PM Suk Khoi <[email protected]> wrote:

> iam using windows and using node.0.10.36
>
> when i run this command prompt as admin with my project directory
> e:\jobdhundo\ npm install -g yo
>
> nothing gets installed in the project directory
>
> when i do this this
> npm install --global yo bower grunt-cli generator-angular
>
> still nothing gets installed in the project directory
>
> but when i do this
> npm install --gloabl yo bower grunt-cli generator-angular
>
> global spelling is wrong, but it gets installed, but sometimes error
> occurs and i reinstall it fixes
>
> where am i doing wrong
>
>  --
> Job board: http://jobs.nodejs.org/
> New group rules:
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nodejs/3b7ece49-d404-4d5c-85d2-9dfeeb525b61%40googlegroups.com
> <https://groups.google.com/d/msgid/nodejs/3b7ece49-d404-4d5c-85d2-9dfeeb525b61%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CAGjmZGwjrsig%3DQdC26-dt9VzoeStFUzzM-WD55woO8YT4SU54g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to