Questions tagged [meanjs]

MEAN.JS is a full-stack JavaScript solution for building web applications using MongoDB, Express, AngularJS, and Node.js.

MEAN.JS is a full-stack JavaScript open-source solution, which provides a solid starting point for MongoDB, Node.js, Express, and AngularJS based applications. The idea is to solve the common issues with connecting those frameworks, build a robust framework to support daily development needs, and help developers use better practices while working with popular JavaScript components.


Documentation :

Related Tags for the used applications:

  • The database itself
  • The interface from express to the database.
  • web application network
  • other tag for the same web application network
  • the web frontend in the version 1.x.x
  • the javascript framework to develop and publish.
877 questions
2
votes
1 answer

Reuse Mongoose schema in client code

I'm developing a MEANJS application and have defined a Mongoose schema. Now I would like to reuse that in the client code to validate forms with Mongoose in the browser. The basic application was generated using yo meanjs and I have a file…
str
  • 42,689
  • 17
  • 109
  • 127
2
votes
2 answers

How to allow ng-model input html in angularjs

I have html code:
But when I enter to input, and press button submit form, I…
phan ngoc
  • 191
  • 3
  • 14
2
votes
1 answer

What does the populate function in mongoose do?

I don't understand the problem when i read http://mongoosejs.com/docs/populate.html. I don't fully understand what the populate function does. I picked it up from meanjs sample source code: Article.find().sort('-created').populate('user',…
phan ngoc
  • 191
  • 3
  • 14
2
votes
2 answers

Installing Packages every time you create a node app

I am going through a MEAN stack development PDF . Every Time i need to create a new API , they ask to add required packages in packages.json file and run npm install. Example : { "name": "node-api", "main": "server.js", "dependencies": { …
smartsn123
  • 115
  • 9
2
votes
0 answers

Why does Angular binding not work for me when using ng-include as such

$scope.$apply.() also does not help and just produces an error that digest() is already running. I am changing the header of the page depending on the state name. It works and the header controller does its job, but when a different HtmlTemplate is…
LaserBeak
  • 3,257
  • 10
  • 43
  • 73
2
votes
1 answer

yo meanjs not recognizing generated project

I've created a new MeanJS project using Yeoman. It installs just fine. When I want to add a new module using yo meanjs:angular-module mymodule, it tries to create a new project ("Which mean.js version would you like to generate") instead of just…
Anugerah Erlaut
  • 990
  • 13
  • 23
2
votes
2 answers

Failed at the v8-debug@0.4.6 install script 'node-pre-gyp install --fallback-to-build

Having this issue when using npm install. (lots of other people had this issue aswell with other commands/tasks). I'm adding this question as a reference to a solution that has already worked for quite a few people.
ManyQuestions
  • 1,069
  • 1
  • 16
  • 34
2
votes
0 answers

bower_components to public folder - meanjs app

In the root folder of my meanjs app I have a bower_components folder. Within this folder are all the required front libs for my meanjs app. I would like to add another lib. So I installed it with bower install pathfinding. The folder gets added to…
kemicofa ghost
  • 16,349
  • 8
  • 82
  • 131
2
votes
0 answers

Error: Cannot find module 'once'

Error: Cannot find module 'once' at Function.Module._resolveFilename (module.js:337:15) at Function.Module._load (module.js:287:25) at Module.require (module.js:366:17) at require (module.js:385:17) at Object.
Ben Wong
  • 691
  • 2
  • 19
  • 29
2
votes
2 answers

Serving static index.html in django

Thing is, I have an angular + cordova app on one module. I just want the REST api from django for the webserver. no views or anything (well only to serve the angular views). How can I serve the static index.html using django? do I need different…
Muli Yulzary
  • 2,559
  • 3
  • 21
  • 39
2
votes
1 answer

Header exchange amqplib or other js library

I am writing a web app to interface with a RabbitMQ based software system. I'm new at web apps, but I've written a fair amount of the app using the MEAN stack and I'm happy with it. I found this link: amqp vs amqplib - which Node.js amqp client…
2
votes
1 answer

MEAN.JS: How to create of 1 model that requires another

Notice: I am new to MEAN and every single part of what makes MEAN up. In reference to the default configuration of MEANJS and the example module Articles. I have created another model called Program. I know how to add other fields or properties to…
Ervin E
  • 442
  • 5
  • 18
2
votes
1 answer

'Unknown Provider' trying to Include angular-websocket in a MeanJS v0.4.1 app

I am having a bit of difficulty using angular-websocket in a controller in a MeanJS application I am working on. My Application is based on MeanJS v0.4.1. I first installed it with: bower install angular-websocket --save This created the…
Dave Rich
  • 319
  • 3
  • 15
2
votes
2 answers

yo meanjs error - Error: Command failed: /bin/sh -c cd test7 && npm install

i am trying to learn nodejs and want to create a boiler plate code for me to make further modification. I am using yeomen and meanjs for the same but I am facing following issue: command -> yo meanjs error -> undefined You're using the official…
ddesai
  • 499
  • 1
  • 6
  • 17
2
votes
0 answers

MEAN Stack + passport local: using sessions on a single page app

I tried implementing this tutorial on how to add an authentication process to a MEAN app: http://mherman.org/blog/2015/07/02/handling-user-authentication-with-the-mean-stack/#.VgUaT_mqpBc The change i tried to implement is to make the app a single…
Wowzaaa
  • 3,730
  • 4
  • 21
  • 23