Skip to content

Instantly share code, notes, and snippets.

View rahul-desai3's full-sized avatar
👋
✌️

Rahul Desai rahul-desai3

👋
✌️
View GitHub Profile
c:\>mkdir ng-news
c:\>cd ng-news
c:\ng-news>npm cache clean
c:\ng-news>yo angular
_-----_
| | .--------------------------.
C:\Program Files\nodejs>npm install -g yo
npm ERR! not a package C:\Users\Rahul\AppData\Local\Temp\npm-7332-eQh1EYO3\14061
27201529-0.38392919092439115\tmp.tgz
C:\Users\Rahul\AppData\Roaming\npm\yo -> C:\Users\Rahul\AppData\Roaming\npm\node
_modules\yo\cli.js
|
> yo@1.2.0 postinstall C:\Users\Rahul\AppData\Roaming\npm\node_modules\yo
> node ./scripts/doctor
c:\x-news>yo angular
_-----_
| | .--------------------------.
|--(o)--| | Welcome to Yeoman, |
`---------' | ladies and gentlemen! |
( _'U`_ ) '--------------------------'
/___A___\
| ~ |
__'.___.'__
This file has been truncated, but you can view the full file.
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install' ]
2 info using npm@2.7.4
3 info using node@v0.12.2
4 verbose node symlink C:\Program Files\nodejs\\node.exe
5 verbose install where, deps [ 'C:\\projects\\meanapp\\client',
5 verbose install [ 'grunt',
5 verbose install 'grunt-autoprefixer',
0 info it worked if it ends with ok
1 verbose cli [ 'node',
1 verbose cli 'C:\\Users\\Rahul\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install',
1 verbose cli '--save',
1 verbose cli 'node-restful' ]
2 info using npm@2.9.0
3 info using node@v0.12.2
4 verbose install initial load of E:\mean_trial\server\package.json
5 warn package.json MeanApp@1.0.0 No repository field.
This file has been truncated, but you can view the full file.
0 info it worked if it ends with ok
1 verbose cli [ 'node',
1 verbose cli 'C:\\Users\\Rahul\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install' ]
2 info using npm@2.9.0
3 info using node@v0.12.2
4 verbose readDependencies loading dependencies from E:\mean-skeleton\myclient\package.json
5 verbose install where, deps [ 'E:\\mean-skeleton\\myclient',
5 verbose install [ 'grunt',
5 verbose install 'grunt-autoprefixer',
4051 silly install resolved bugs: { url: 'https://github.com/sindresorhus/ansi-regex/issues' },
4051 silly install resolved homepage: 'https://github.com/sindresorhus/ansi-regex',
4051 silly install resolved _id: 'ansi-regex@1.1.1',
4051 silly install resolved _shasum: '41c847194646375e6a1a5d10c3ca054ef9fc980d',
4051 silly install resolved _from: 'ansi-regex@>=1.1.0 <2.0.0',
4051 silly install resolved _npmVersion: '2.1.16',
4051 silly install resolved _nodeVersion: '0.10.35',
4051 silly install resolved _npmUser: { name: 'jbnicolai', email: 'jappelman@xebia.com' },
4051 silly install resolved dist:
4051 silly install resolved { shasum: '41c847194646375e6a1a5d10c3ca054ef9fc980d',
// Generated on 2015-05-04 using generator-angular 0.11.1
'use strict';
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,*/}*.js'
// use this if you want to recursively match all subfolders:
// 'test/spec/**/*.js'
module.exports = function (grunt) {
/projects/cms/client/app/scripts/app.js:10
angular
^
ReferenceError: angular is not defined
at Object.<anonymous> (/projects/cms/client/app/scripts/app.js:10:1)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
@rahul-desai3
rahul-desai3 / Gruntfile.js
Created May 20, 2015 11:33
grunt-contrib-connect is showing the list of pages instead of the website itself!
// Generated on 2015-05-04 using generator-angular 0.11.1
'use strict';
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,*/}*.js'
// use this if you want to recursively match all subfolders:
// 'test/spec/**/*.js'
module.exports = function (grunt) {