gonzaloruizdevilla / generator-angularexpress Goto Github PK
View Code? Open in Web Editor NEWYeoman generator for AngularJS with an Express server
Home Page: http://yeoman.io
Yeoman generator for AngularJS with an Express server
Home Page: http://yeoman.io
I have installed angularexpress generator globally like this -- npm install -g generator-angularexpress
But It is throwing below error while running command "sudo yo angularexpress myappp "
Error angularexpress myappp
You don't seem to have a generator with the name angularexpress installed.
You can see available generators with npm search yeoman-generator and then install them with npm install [name].
To see the 17 registered generators run yo with the --help
option.
The build task has a dependency to "concat" which isn't defined within the Gruntfile
Hi,
I just installed the generator and when I tried to run it I got this error. Can you please help me to fix it?
$ grunt
Loading "Gruntfile.js" tasks...ERROR
>> TypeError: Cannot read property 'prototype' of undefined
Warning: Task "default" not found. Use --force to continue.
Thanks!
Hello, the installation for the package always fails for me as there seems to be a problem with dependencies with generator-angular wanting generator-karma@>=0.8.2. Could you update the version needed for generator karma to be >=0.8.2 too for angular-express ?
npm ERR! peerinvalid The package generator-karma does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants generator-karma@>=0.8.2
npm ERR! peerinvalid Peer [email protected] wants generator-karma@~0.6.0
I can't seem to get passed this error when trying to generate a new app:
โ yo angularexpress
path.js:360
throw new TypeError('Arguments to path.join must be strings');
^
TypeError: Arguments to path.join must be strings
at path.js:360:15
at Array.filter (native)
at Object.exports.join (path.js:358:36)
at Object.<anonymous> (/usr/local/lib/node_modules/yo/node_modules/yeoman-generator/node_modules/bower/lib/core/config.js:41:22)
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)
at Module.require (module.js:364:17)
at require (module.js:380:17)
grunt
Running "jshint:all" (jshint) task
Linting Gruntfile.js ...ERROR
[L84:C9] W015: Expected '}' to have an indentation at 11 instead at 9.
}
Linting Gruntfile.js ...ERROR
[L85:C7] W015: Expected ']' to have an indentation at 9 instead at 7.
],
Linting Gruntfile.js ...ERROR
[L86:C7] W015: Expected 'livereload' to have an indentation at 9 instead at 7.
livereload: {
Linting Gruntfile.js ...ERROR
[L87:C9] W015: Expected 'options' to have an indentation at 11 instead at 9.
options: {
Linting Gruntfile.js ...ERROR
[L88:C11] W015: Expected 'middleware' to have an indentation at 13 instead at 11
.
middleware: function (connect) {
Linting Gruntfile.js ...ERROR
[L89:C13] W015: Expected 'return' to have an indentation at 15 instead at 13.
return [
Linting Gruntfile.js ...ERROR
[L90:C15] W015: Expected 'lrSnippet' to have an indentation at 17 instead at 15.
lrSnippet,
Linting Gruntfile.js ...ERROR
[L91:C15] W015: Expected 'proxySnippet' to have an indentation at 17 instead at
15.
proxySnippet,
Linting Gruntfile.js ...ERROR
[L92:C15] W015: Expected 'mountFolder' to have an indentation at 17 instead at 1
5.
mountFolder(connect, '.tmp'),
Linting Gruntfile.js ...ERROR
[L93:C15] W015: Expected 'mountFolder' to have an indentation at 17 instead at 1
5.
mountFolder(connect, yeomanConfig.app)
Linting Gruntfile.js ...ERROR
[L94:C13] W015: Expected ']' to have an indentation at 15 instead at 13.
];
Linting Gruntfile.js ...ERROR
[L95:C11] W015: Expected '}' to have an indentation at 13 instead at 11.
}
Linting Gruntfile.js ...ERROR
[L96:C9] W015: Expected '}' to have an indentation at 11 instead at 9.
}
Linting Gruntfile.js ...ERROR
[L97:C7] W015: Expected '}' to have an indentation at 9 instead at 7.
},
Linting Gruntfile.js ...ERROR
[L98:C7] W015: Expected 'test' to have an indentation at 9 instead at 7.
test: {
Linting Gruntfile.js ...ERROR
[L99:C9] W015: Expected 'options' to have an indentation at 11 instead at 9.
options: {
Linting Gruntfile.js ...ERROR
[L100:C11] W015: Expected 'middleware' to have an indentation at 13 instead at 1
1.
middleware: function (connect) {
Linting Gruntfile.js ...ERROR
[L101:C13] W015: Expected 'return' to have an indentation at 15 instead at 13.
return [
Linting Gruntfile.js ...ERROR
[L102:C15] W015: Expected 'mountFolder' to have an indentation at 17 instead at
15.
mountFolder(connect, '.tmp'),
Linting Gruntfile.js ...ERROR
[L103:C15] W015: Expected 'mountFolder' to have an indentation at 17 instead at
15.
mountFolder(connect, 'test')
Linting Gruntfile.js ...ERROR
[L104:C13] W015: Expected ']' to have an indentation at 15 instead at 13.
];
Linting Gruntfile.js ...ERROR
[L105:C11] W015: Expected '}' to have an indentation at 13 instead at 11.
}
Linting Gruntfile.js ...ERROR
[L106:C9] W015: Expected '}' to have an indentation at 11 instead at 9.
}
Linting Gruntfile.js ...ERROR
[L107:C7] W015: Expected '}' to have an indentation at 9 instead at 7.
},
Linting Gruntfile.js ...ERROR
[L108:C7] W015: Expected 'dist' to have an indentation at 9 instead at 7.
dist: {
Linting Gruntfile.js ...ERROR
[L109:C9] W015: Expected 'options' to have an indentation at 11 instead at 9.
options: {
Linting Gruntfile.js ...ERROR
[L110:C11] W015: Expected 'middleware' to have an indentation at 13 instead at 1
1.
middleware: function (connect) {
Linting Gruntfile.js ...ERROR
[L111:C13] W015: Expected 'return' to have an indentation at 15 instead at 13.
return [
Linting Gruntfile.js ...ERROR
[L112:C15] W015: Expected 'mountFolder' to have an indentation at 17 instead at
15.
mountFolder(connect, yeomanConfig.dist)
Linting Gruntfile.js ...ERROR
[L113:C13] W015: Expected ']' to have an indentation at 15 instead at 13.
];
Linting Gruntfile.js ...ERROR
[L114:C11] W015: Expected '}' to have an indentation at 13 instead at 11.
}
Linting Gruntfile.js ...ERROR
[L115:C9] W015: Expected '}' to have an indentation at 11 instead at 9.
}
Linting Gruntfile.js ...ERROR
[L116:C7] W015: Expected '}' to have an indentation at 9 instead at 7.
}
Linting Gruntfile.js ...ERROR
[L117:C5] W015: Expected '}' to have an indentation at 7 instead at 5.
},
Linting Gruntfile.js ...ERROR
[L118:C5] W015: Expected 'open' to have an indentation at 7 instead at 5.
open: {
Linting Gruntfile.js ...ERROR
[L119:C7] W015: Expected 'server' to have an indentation at 9 instead at 7.
server: {
Linting Gruntfile.js ...ERROR
[L120:C9] W015: Expected 'url' to have an indentation at 11 instead at 9.
url: 'http://localhost:<%= connect.options.port %>'
Linting Gruntfile.js ...ERROR
[L121:C7] W015: Expected '}' to have an indentation at 9 instead at 7.
}
Linting Gruntfile.js ...ERROR
[L122:C5] W015: Expected '}' to have an indentation at 7 instead at 5.
},
Linting Gruntfile.js ...ERROR
[L123:C5] W015: Expected 'clean' to have an indentation at 7 instead at 5.
clean: {
Linting Gruntfile.js ...ERROR
[L124:C7] W015: Expected 'dist' to have an indentation at 9 instead at 7.
dist: {
Linting Gruntfile.js ...ERROR
[L125:C9] W015: Expected 'files' to have an indentation at 11 instead at 9.
files: [{
Linting Gruntfile.js ...ERROR
[L126:C11] W015: Expected 'dot' to have an indentation at 13 instead at 11.
dot: true,
Linting Gruntfile.js ...ERROR
[L127:C11] W015: Expected 'src' to have an indentation at 13 instead at 11.
src: [
Linting Gruntfile.js ...ERROR
[L128:C13] W015: Expected '.tmp' to have an indentation at 15 instead at 13.
'.tmp',
Linting Gruntfile.js ...ERROR
[L129:C13] W015: Expected '<%= yeoman.dist %>/' to have an indentation at 15 in
stead at 13.
'<%= yeoman.dist %>/',
Linting Gruntfile.js ...ERROR
[L130:C13] W015: Expected '!<%= yeoman.dist %>/.git_' to have an indentation at
15 instead at 13.
'!<%= yeoman.dist %>/.git_'
Linting Gruntfile.js ...ERROR
[L131:C11] W015: Expected ']' to have an indentation at 13 instead at 11.
]
Linting Gruntfile.js ...ERROR
[L132:C9] W015: Expected '}' to have an indentation at 11 instead at 9.
}]
Linting Gruntfile.js ...ERROR
[L133:C7] W015: Expected '}' to have an indentation at 9 instead at 7.
},
Linting Gruntfile.js ...ERROR
Too many errors. (32% scanned).
Warning: Task "jshint:all" failed. Use --force to continue.
Aborted due to warnings.
Elapsed time
jshint:all 143ms
Total 143ms
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.