linnovate / mean Goto Github PK
View Code? Open in Web Editor NEWThe MEAN stack uses Mongo, Express, Angular(6) and Node for simple and scalable fullstack js applications
Home Page: http://mean.io
The MEAN stack uses Mongo, Express, Angular(6) and Node for simple and scalable fullstack js applications
Home Page: http://mean.io
module.js:340
throw err;
^
Error: Cannot find module 'coffee-script'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/Users/altryne/www/followme/node_modules/grunt/lib/grunt.js:16: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)
at Module.require (module.js:364:17)
Seems that coffeescript is missing from requirements.json?
I have a module called: components.js with the content inside:
angular.module('components', []). directive('tabs', function() { do somethings }).
How to define this module in MEAN and use it likely another directive?
Thank?
Is this project inspired from this project? I see a lot of common design architecture. If so, some credit to this project should be given. Ain't it?
It would be nice to have a quick start list on the github page for the project. Something that shows the simple things you need to edit to get functionality working. Example:
Right now there is no document that tells people what variables/settings they might need to go change throughout the entire app.
@zohararad told me about sailsjs - http://sailsjs.org/ - a lghtweight framework which takes care of MVC routing and realtime web through socket.io
Integrating it as a layer might be an interesting refactor...
Hi, I am trying to figure out why you are using app/views (e.g. for user) and public/views (articles) but I can't figure it out.
Could you give some info about this?
Thanks for this repository, really great!
I've been getting this error consistently on multiple machines on different networks when running npm install
from a fresh clone of mean. When it happens seems to be rather unpredictable but I assume that's because of some async callback that is throwing the error. Is there some way I can get a more descriptive error message?
4009 error Error: shasum check failed for /home/dev/tmp/npm-32719-SuK3oQBr/1378762041409-0.2018241216428578/tmp.tgz
4009 error Expected: 0c015ec5bc5ad65c11c4b5152f221f24b7af5522
4009 error Actual: 5d5de65cc23a0c18ada7f3aa30e9325390a78c5e
4009 error at /usr/local/lib/node_modules/npm/node_modules/sha/index.js:38:8
4009 error at ReadStream.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/sha/index.js:85:7)
4009 error at ReadStream.EventEmitter.emit (events.js:125:20)
4009 error at _stream_readable.js:896:16
4009 error at process._tickCallback (node.js:316:11)
4010 error If you need help, you may report this log at:
4010 error <http://github.com/isaacs/npm/issues>
4010 error or email it to:
4010 error <[email protected]>
4011 error System Linux 3.8.0-30-generic
4012 error command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
4013 error cwd /home/dev/projects/mean
4014 error node -v v0.11.8-pre
4015 error npm -v 1.3.10
4016 verbose exit [ 1, true ]
Apologies for the rookie issues, but after first running this app I get 404s on JS and CSS:
$ mate .
MacBooks-MacBook-Pro:mean-master mpirtle$ node server
Express app started on port 3000
GET / 304 256ms
GET /lib/bootstrap/docs/assets/css/bootstrap.css 404 50ms
GET /lib/bootstrap/docs/assets/css/bootstrap-responsive.css 404 119ms
GET /lib/jquery/jquery.min.js 404 117ms
GET /lib/angular/angular.min.js 404 116ms
GET /lib/angular-resource/angular-resource.min.js 404 64ms
GET /lib/angular-bootstrap/ui-bootstrap-tpls.min.js 404 65ms
GET /lib/angular-cookies/angular-cookies.min.js 404 66ms
Without being able to load the index of the app, I'm only able to manually view sign(in/out/up) and wonder what the rest would look like :-)
I followed the step and when I start grunt
server or node server
following error occurs
Running "karma:unit" (karma) task
INFO [karma]: Karma server started at http://localhost:8080/
INFO [launcher]: Starting browser Chrome
WARN [watcher]: Pattern "/home/hitesh/node/test/mock/**/*.js" does not match any file.
WARN [launcher]: Chrome have not captured in 5000 ms, killing.
INFO [launcher]: Trying to start Chrome again.
WARN [launcher]: Chrome have not captured in 5000 ms, killing.
INFO [launcher]: Trying to start Chrome again.
WARN [launcher]: Chrome have not captured in 5000 ms, killing.
Warning: Task "karma:unit" failed. Use --force to continue.
Aborted due to warnings.`
On windows after cloning if you do "npm install" it errors out at the end since it tries to invoke bower which i think has shebang, which is not supported on windows.
So, after install node, mongodb. and doing npm install one has to do "node .\node_modules\bower\bin\bower install" I think if we update the post install to use this command it will take care of windows as well as unix like environment
Should be able to run
More of a "nice to have" than an issue, but it would be nice to modify the gruntfile.js to support live reloading for the jade files too (cfr. http://code-like-a-poem.blogspot.be/2013/05/tips-jade-to-html-and-livereload-using.html)
$git clone ...
$npm install
$node server.js
get :
module.js:340
throw err;
^
Error: Cannot find module 'mean-logger'
in server.js file :
42 require('mean-logger').init(app,db);
Hi MEAN, this is so wonderful stack!
I do not know how the Client controllers can get the data from the Server controllers to export to view.
By the way, what is the role of these two .js file: article.js in public/js/service and init.js in public/js
Thanks!
imageUrl: {
type: ????????????,
default: '',
trim: true
},
By the way, what it should be if i have 5 imageUrl?
Thank!
I think I got everything installed correctly but got 404's for all the resources(bootstrap, jquery, etc) when visiting the page: localhost:3000.
I ended up moving the resources to a folder named static, and remove lib/ from the app/views/includes/{foot.jade,head.jade,} files.
Then I had to link the resources in the server.js file using:
app.use(express.static(__dirname + '/static'));
Was there a different way I was supposed to be able to serve those resouces?
15004 http 500 https://registry.npmjs.org/qs/0.6.5
15005 verbose bad json Internal routing error
15005 verbose bad json
15005 verbose bad json Sorry, we cannot connect to the intended server.
15005 verbose bad json
15005 verbose bad json We have just been notified of this problem. We will correct it as soon as possible.
15005 verbose bad json
15005 verbose bad json Feel free to contact us if you have any questions: [email protected]
15006 error registry error parsing json
15007 info retry will retry, error on last attempt: SyntaxError: Unexpected token I
15007 info retry Internal routing error
15007 info retry
15007 info retry Sorry, we cannot connect to the intended server.
15007 info retry
15007 info retry We have just been notified of this problem. We will correct it as soon as possible.
15007 info retry
15007 info retry Feel free to contact us if you have any questions: [email protected]
15008 info retry will retry, error on last attempt: Error: socket hang up
15009 info retry will retry, error on last attempt: Error: socket hang up
15010 http 500 https://registry.npmjs.org/emitter-component/1.0.0
15011 verbose bad json Internal routing error
15011 verbose bad json
15011 verbose bad json Sorry, we cannot connect to the intended server.
15011 verbose bad json
15011 verbose bad json We have just been notified of this problem. We will correct it as soon as possible.
15011 verbose bad json
15011 verbose bad json Feel free to contact us if you have any questions: [email protected]
15012 error registry error parsing json
15013 info retry will retry, error on last attempt: SyntaxError: Unexpected token I
15013 info retry Internal routing error
15013 info retry
15013 info retry Sorry, we cannot connect to the intended server.
15013 info retry
15013 info retry We have just been notified of this problem. We will correct it as soon as possible.
15013 info retry
15013 info retry Feel free to contact us if you have any questions: [email protected]
15014 info retry will retry, error on last attempt: Error: socket hang up
15015 http 500 https://registry.npmjs.org/lazy/-/lazy-1.0.11.tgz
15016 error fetch failed https://registry.npmjs.org/lazy/-/lazy-1.0.11.tgz
15017 info retry will retry, error on last attempt: Error: 500 Internal Server Error
15018 http 500 https://registry.npmjs.org/inherits
15019 verbose bad json Internal routing error
15019 verbose bad json
15019 verbose bad json Sorry, we cannot connect to the intended server.
15019 verbose bad json
15019 verbose bad json We have just been notified of this problem. We will correct it as soon as possible.
15019 verbose bad json
15019 verbose bad json Feel free to contact us if you have any questions: [email protected]
15020 error registry error parsing json
15021 info retry will retry, error on last attempt: SyntaxError: Unexpected token I
15021 info retry Internal routing error
15021 info retry
15021 info retry Sorry, we cannot connect to the intended server.
15021 info retry
15021 info retry We have just been notified of this problem. We will correct it as soon as possible.
15021 info retry
15021 info retry Feel free to contact us if you have any questions: [email protected]
15022 info retry will retry, error on last attempt: Error: socket hang up
15023 info trying registry request attempt 2 at 17:50:46
15024 http GET https://registry.npmjs.org/ini
15025 info postinstall [email protected]
15026 verbose about to build /var/www/mean/node_modules/connect-mongo/node_modules/mongodb
15027 info build /var/www/mean/node_modules/connect-mongo/node_modules/mongodb
15028 verbose linkStuff [ false,
15028 verbose linkStuff false,
15028 verbose linkStuff false,
15028 verbose linkStuff '/var/www/mean/node_modules/connect-mongo/node_modules' ]
15029 info linkStuff [email protected]
15030 verbose linkBins [email protected]
15031 verbose linkMans [email protected]
15032 verbose rebuildBundles [email protected]
15033 verbose rebuildBundles [ 'bson' ]
15034 info install [email protected]
15035 info postinstall [email protected]
15036 verbose about to build /var/www/mean/node_modules/connect-mongo
15037 info build /var/www/mean/node_modules/connect-mongo
15038 verbose linkStuff [ false, false, false, '/var/www/mean/node_modules' ]
15039 info linkStuff [email protected]
15040 verbose linkBins [email protected]
15041 verbose linkMans [email protected]
15042 verbose rebuildBundles [email protected]
15043 verbose rebuildBundles [ 'mongodb' ]
15044 info install [email protected]
15045 info postinstall [email protected]
15046 info trying registry request attempt 2 at 17:50:46
15047 http GET https://registry.npmjs.org/broadway/0.2.7
15048 info trying registry request attempt 2 at 17:50:46
15049 verbose etag "8NFZE186SC0218SIA7RX07BZM"
15050 http GET https://registry.npmjs.org/pkginfo
15051 info trying registry request attempt 2 at 17:50:47
15052 http GET https://registry.npmjs.org/eyes
15053 info trying registry request attempt 2 at 17:50:47
15054 http GET https://registry.npmjs.org/cycle
15055 http 500 https://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.12.tgz
15056 error fetch failed https://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.12.tgz
15057 info retry will retry, error on last attempt: Error: 500 Internal Server Error
15058 info trying registry request attempt 2 at 17:50:48
15059 http GET https://registry.npmjs.org/stack-trace
15060 info trying registry request attempt 2 at 17:50:48
15061 http GET https://registry.npmjs.org/minimatch
15062 http 500 https://registry.npmjs.org/mkdirp/0.3.0
15063 verbose bad json Internal routing error
15063 verbose bad json
15063 verbose bad json Sorry, we cannot connect to the intended server.
15063 verbose bad json
15063 verbose bad json We have just been notified of this problem. We will correct it as soon as possible.
15063 verbose bad json
15063 verbose bad json Feel free to contact us if you have any questions: [email protected]
15064 error registry error parsing json
15065 info retry will retry, error on last attempt: SyntaxError: Unexpected token I
15065 info retry Internal routing error
15065 info retry
15065 info retry Sorry, we cannot connect to the intended server.
15065 info retry
15065 info retry We have just been notified of this problem. We will correct it as soon as possible.
15065 info retry
15065 info retry Feel free to contact us if you have any questions: [email protected]
15066 silly lockFile 2c445be5-send-0-1-3 [email protected]
15067 silly lockFile 2c445be5-send-0-1-3 [email protected]
15068 verbose about to build /var/www/mean/node_modules/express
15069 info /var/www/mean/node_modules/express unbuild
15070 info preuninstall [email protected]
15071 info uninstall [email protected]
15072 verbose true,/var/www/mean/node_modules,/var/www/mean/node_modules unbuild [email protected]
15073 verbose /var/www/mean/node_modules/.bin,[object Object] binRoot
15074 info postuninstall [email protected]
15075 error Error: socket hang up
15075 error at createHangUpError (http.js:1453:15)
15075 error at CleartextStream.socketCloseListener (http.js:1503:23)
15075 error at CleartextStream.EventEmitter.emit (events.js:117:20)
15075 error at tls.js:681:10
15075 error at process._tickCallback (node.js:415:13)
15076 error If you need help, you may report this log at:
15076 error http://github.com/isaacs/npm/issues
15076 error or email it to:
15076 error [email protected]
15077 error System Linux 3.5.0-36-generic
15078 error command "/usr/bin/node" "/usr/bin/npm" "install"
15079 error cwd /var/www/mean
15080 error node -v v0.10.15
15081 error npm -v 1.3.5
15082 error code ECONNRESET
15083 verbose exit [ 1, true ]
I was running through the quickstart instructions and kept getting a blank homepage when I'd navigate to localhost:3000. When I investigated further, it looks like the static files are experiencing a weird character conversion error. The browser thinks all of my .css and .js files are a mish-mash of '�' and a handful of other strange characters.
I commented out the express.compress call in config/express.js (lines 12 - 18)
//Should be placed before express.static
// app.use(express.compress({
// filter: function(req, res) {
// return (/json|text|javascript|css/).test(res.getHeader('Content-Type'));
// },
// level: 9
// }));
and everything worked fine after that.
I'm new...any ideas what that's about?
On iPad (landscape and portrait) the ninja girl is behind the text. It's difficult to read.
Steps:
0. do NOT signin
Logs show:
NetworkError: 404 Not Found - http://localhost:3000/login
I'm new to MEAN/Javascript so sorry for not being able to know what is going on and filing a patch.
I am trying to follow the 'quick install' part on mean.io . It says Grunt is optional and nothing more about Compass. But when I write grunt
on command line, this is what I get:
Running "compass:dist" (compass) task
Warning: You need to have Ruby and Compass installed and in your system PATH for this task to work. More info: https://github.com/gruntjs/grunt-contrib-compass Use --force to continue.
Aborted due to warnings.
Shouldn't it be written on the 'Optional (Requirements for Grunt)' part after the grunt? Or am I missing something?
As referenced in issue #13, I was getting 404s on Angular, jQuery, Bootstrap.
I was able to fix this by copying the contents of the bower_components folder to public/lib folder.
Should bower.json have a "main" attribute of "public/lib" ? Not sure I fully understand bower, but presumably need to somehow point it to install in the right location. Or am I doing something else wrong?
Currently the signup, login pages are jade templates served up by express. In my opinion, it would be ideal to instead convert them to RESTful api endpoints, and handle the logging in / templating thorough angular.
This would keep the experience more cohesive to the end user. It would also eliminate the need for jade templating (just send every non API request to index.html). It would also open the possibility of exposing a whole slew of auth related endpoints, ie: api/login
api/signup
api/signout
api/reset_password
etc.
Thoughts?
On a windows 7 machine tried on consoles cygwin and cmd.exe
c:\mean-master>npm install
....
npm http 304 https://registry.npmjs.org/event-emitter
npm http 304 https://registry.npmjs.org/next-tick
npm WARN prefer global [email protected] should be installed with -g
> [email protected] postinstall c:\mean-master
> ./node_modules/bower/bin/bower install
'.' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! [email protected] postinstall: `./node_modules/bower/bin/bower install`
npm ERR! `cmd "/c" "./node_modules/bower/bin/bower install"` failed with 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is most likely a problem with the mean package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ./node_modules/bower/bin/bower install
npm ERR! You can get their info via:
npm ERR! npm owner ls mean
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! cwd c:\mean-master
npm ERR! node -v v0.8.21
npm ERR! npm -v 1.2.11
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! c:\mean-master\npm-debug.log
npm ERR! not ok code 0
c:\mean-master>
The first routing middleware function in the authorization.js file redirects to non-existent route '/login'
exports.requiresLogin = function(req, res, next) {
if (!req.isAuthenticated()) {
return res.redirect('/login');
}
next();
};
I'm running behind a node-http-proxy and the static route is lost in the ether... Do you know of a quick fix to get things talking again?
I'm trying to deploy the default MEAN project to heroku and I'm getting the following error:
....
npm http 200 https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/lru-cache/-/lru-cache-2.3.1.tgz
npm http 200 https://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz
npm http 200 https://registry.npmjs.org/lru-cache/-/lru-cache-2.3.1.tgz
> [email protected] install /tmp/build_1x3keyczpiugp/node_modules/connect-mongo/node_modules/mongodb/node_modules/bson
> (node-gyp rebuild 2> builderror.log) || (exit 0)
> [email protected] install /tmp/build_1x3keyczpiugp/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos
> (node-gyp rebuild 2> builderror.log) || (exit 0)
> [email protected] install /tmp/build_1x3keyczpiugp/node_modules/mongoose/node_modules/mongodb/node_modules/bson
> (node-gyp rebuild 2> builderror.log) || (exit 0)
make: Entering directory `/tmp/build_1x3keyczpiugp/node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/build'
CXX(target) Release/obj.target/bson/ext/bson.o
make: Entering directory `/tmp/build_1x3keyczpiugp/node_modules/mongoose/node_modules/mongodb/node_modules/bson/build'
CXX(target) Release/obj.target/bson/ext/bson.o
make: Entering directory `/tmp/build_1x3keyczpiugp/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/build'
SOLINK_MODULE(target) Release/obj.target/kerberos.node
SOLINK_MODULE(target) Release/obj.target/kerberos.node: Finished
COPY Release/kerberos.node
make: Leaving directory `/tmp/build_1x3keyczpiugp/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/build'
SOLINK_MODULE(target) Release/obj.target/bson.node
SOLINK_MODULE(target) Release/obj.target/bson.node: Finished
COPY Release/bson.node
make: Leaving directory `/tmp/build_1x3keyczpiugp/node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/build'
SOLINK_MODULE(target) Release/obj.target/bson.node
SOLINK_MODULE(target) Release/obj.target/bson.node: Finished
COPY Release/bson.node
make: Leaving directory `/tmp/build_1x3keyczpiugp/node_modules/mongoose/node_modules/mongodb/node_modules/bson/build'
> [email protected] postinstall /tmp/build_1x3keyczpiugp
> ./node_modules/bower/bin/bower install
sh: ./node_modules/bower/bin/bower: not found
npm ERR! weird error 127
npm ERR! not ok code 0
! Failed to install --production dependencies with npm
! Push rejected, failed to compile Node.js app
To [email protected]:cryptic-bastion-4086.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:cryptic-bastion-4086.git'
Some kind if integration with Socket.io would be great :)
Following are just notes I took while setting up a clean, bare MEAN last night. I'm happy to help with the documentation if needed - let me know and I can fork and then issue pull requests, if that is what you guys like.
I see several testing related dependencies in the package.json file but no test directory or test files.
It would be great to integrate some tests case, particularly for some basic rest api.
The tests are failing because of the missing Article model.
Hello,
Thanks for putting this together, it looks exactly what I need to get a grip on the mean stack. I run into a problem however following the installation instructions.
After I install all the dependencies using npm install and bower install en start the server using node server.js, when I go to http://localhost:3000 I get a blank page with these errors in the console:
Uncaught SyntaxError: Unexpected token ILLEGAL :3000/lib/jquery/jquery.min.js:1
Uncaught SyntaxError: Unexpected token ILLEGAL :3000/lib/angular/angular.min.js:1
Uncaught SyntaxError: Unexpected token & :3000/lib/angular-cookies/angular-cookies.min.js:1
Uncaught SyntaxError: Unexpected token ILLEGAL :3000/lib/angular-resource/angular-resource.min.js:1
Uncaught SyntaxError: Unexpected token ILLEGAL :3000/lib/angular-bootstrap/ui-bootstrap-tpls.min.js:1
Uncaught SyntaxError: Unexpected token ILLEGAL :3000/js/app.js:1
Uncaught SyntaxError: Unexpected token ILLEGAL :3000/js/config.js:1
Uncaught SyntaxError: Unexpected token ILLEGAL :3000/js/services/global.js:1
Uncaught SyntaxError: Unexpected token ILLEGAL :3000/js/services/articles.js:1
Uncaught SyntaxError: Unexpected token ILLEGAL :3000/js/controllers/articles.js:1
Uncaught SyntaxError: Unexpected token % :3000/js/controllers/index.js:1
Uncaught SyntaxError: Unexpected token ILLEGAL :3000/js/controllers/header.js:1
Uncaught SyntaxError: Unexpected token ILLEGAL :3000/js/init.js:1
Could someone tell me what I did wrong? I tried cloning the repo multiple times and reinstalling the dependencies but to no avail.
Thanks in advance!
Title says it all. This is off vanilla install.
Your config file contains your Facebook API Key. Might want to store that in a config file that you add to .gitignore
I followed the instructions in the readme, but the structure created is trying to reference the following files (all are not found):
http://localhost:5000/lib/bootstrap/docs/assets/css/bootstrap.css
http://localhost:5000/lib/bootstrap/docs/assets/css/bootstrap-responsive.css
http://localhost:5000/lib/jquery/jquery.min.js 404
http://localhost:5000/lib/angular/angular.min.js
http://localhost:5000/lib/angular-bootstrap/ui-bootstrap-tpls.min.js
http://localhost:5000/lib/angular-cookies/angular-cookies.min.js
http://localhost:5000/lib/angular-resource/angular-resource.min.js
http://localhost:5000/lib/angular-ui-utils/modules/route/route.js
No lib
folder is present anywhere in the cloned build. Am I supposed to be moving these files from the bower_components/
folder into public/lib/
? Am I totally missing something here?
Trying to get Node Inspector (https://github.com/node-inspector/node-inspector) working with the default stack.
If you start the server and then the inspector, I'm able to put breakpoints in my browser and pause the executed code. However, I don't see any output in the console.
Can anyone confirm the same issue? Thanks
I kind of suggest maybe use jugglingdb which is some what db independent which allows more people use whether mysql or mongo, it can be alternative to Mongoose or on a separate branch.
> [email protected] postinstall /Users/altryne/www/followme
> node_modules/bower/bin/bower install
module.js:340
throw err;
^
Error: Cannot find module 'mout'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/Users/altryne/www/followme/node_modules/bower/bin/bower:6:12)
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 Function.Module.runMain (module.js:497:10)
npm ERR! [email protected] postinstall: `node_modules/bower/bin/bower install`
npm ERR! `sh "-c" "node_modules/bower/bin/bower install"` failed with 8
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is most likely a problem with the mean package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node_modules/bower/bin/bower install
npm ERR! You can get their info via:
npm ERR! npm owner ls mean
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 12.4.0
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/altryne/www/followme
npm ERR! node -v v0.10.0
npm ERR! npm -v 1.2.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/altryne/www/followme/npm-debug.log
npm ERR! not ok code 0
Not an issue, a question: I'm wondering if it would be useful to separate the static angular part from the dynamic part.
The angular part could be served using nginx, be scaffolded by yeoman (yo angular appname) and, why not, be integrated with phonegap as mobile app.
The ME-N would be then a pure REST service.
In the case of mean-stack by linnovate, the two are mixed and it does not seem possible to me to use the tools described by Angular Team (Yeoman, Karma, etc ...). Or am I wrong?
A "remember me" option by logging in would be a simple but expected function.
There are two command line which I do not understand:
what does it mean?. Look up in http://expressjs.com/api.html, I do not see this kind of req.
Thank so much!
Hey guys,
I really appreciate this repo. I have never used Bower before and am trying to figure out the best practice for integrating D3 into this project.
I was hoping you could provide some suggestions or a quick guide to go about doing this appropriately?
Thanks,
Eric
[EDIT] - this is partly wrong, see my comment below
Hi,
I successfully added a page to this project. Since it wasn't as simple as I hoped, I try to document what I did. The page I add in this walkthrough is called 'video'.
var video = require('../app/controllers/video');
app.get('/video', video.render);
var mongoose = require('mongoose'),
async = require('async'),
_ = require('underscore');
exports.render = function(req, res) {
res.render('video');
};
extends layouts/default
block content
h1 video page
p this is a test
when('/video', {
templateUrl: 'views/video.html'
{
"title": "Video",
"link": "video"
}
This should be it.
Best,
Dirk
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.