What I'm trying to accomplish is to set up my project using Nodejs, NPM, Grunt and Yeoman.
I want to install everything locally in my environment.
1) Downloaded and installed Nodejs 64-bit .msi file.
2) Ran npm i grunt-cli
to install grunt locally in my project's folder path.
3) Ran npm i yeoman
/tried to scaffold my project running yo angular StockDog
/windows tells me that yo is not recognized as an internal command
4) Ran npm i yo
/tried to scaffold my project running yo angular StockDog
/windows tells me that yo is not recognized as an internal command
This is what i got when i ran npm i yo
:
Yeoman Doctor
Running sanity checks on your system
V Global configuration file is valid
V NODE_PATH matches the npm root
V Node.js version
V No .bowerrc file in home directory
V No .yo-rc.json file in home directory
V npm version
Everything looks all right!
npm WARN saveError ENOENT: no such file or directory, open 'StockDog \package.json'
npm WARN enoent ENOENT: no such file or directory, open 'StockDog\package.json'
npm WARN generator-angular@0.9.8 requires a peer of generator-karma@>=0.8.2 but none was installed.
npm WARN StockDog No description
npm WARN StockDog No repository field.
npm WARN StockDog No README data
npm WARN StockDog No license field.
updated 1 package in 23.222s
I want to get this yo thing working, but reading the docs, they say to install it via npm globally, but I want to run it locally.
So, how can i get yeoman installed and running locally in my project's folder? And after that, how can I get grunt installed and running locally?
via Marvin
No comments:
Post a Comment