Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
203 views

in angular 16 project when we call REST Api from project it will shows error but when we direct call from POSTMAN or browser it will shows data [duplicate]

angular 16 project service data call getData() { this.regionService.getAllRegion().subscribe(data => { this.regionValue = data; })} Service Data call rest Api getAllRegion(): Observable<...
Munesh's user avatar
  • 23
0 votes
1 answer
77 views

Am getting this error. MongoServerError: user is not allowed to do action [remove] on [shoeDatabase.users]

This error is what I find. user is not allowed to do action MongoServerError: user is not allowed to do action [remove] on [shoeDatabase.users], import express from "express"; import User ...
chinedu-01's user avatar
0 votes
1 answer
471 views

Could not connect to MongoDb : openidconnect strategy requires an issuer option

im a fresher Nodejs developer,and i have some problems for which i really want to ask you all. Im trying to setup a MEANJS project base on : meanjs, but there is some error occured unexpectedly on my ...
Zjm Thắng's user avatar
0 votes
1 answer
278 views

Distinct count of multiple fields values using mongodb aggregation

I'm trying to count distinct values of multiple fields By one MongoDB Aggregation query. So here's my data: { "_id":ObjectID( "617b0dbacda6cbd1a0403f68") "car_type": &...
SpawN's user avatar
  • 55
0 votes
1 answer
142 views

require function giving error when loading module from models

I am using MEAN stack, I have a file project.js in models directory and it contains schema for my nosql. I am trying to use that module in my controller file Project.js but I am getting error on this: ...
AHF's user avatar
  • 1,072
1 vote
0 answers
389 views

Npm install is not working getting bower ECMDERR

I am getting the bellow error while running npm install command bower ECMDERR Failed to execute "git ls-remote --tags --heads https://github.com/middleout/angular-cryptography.git", exit ...
Sunilkumar A's user avatar
1 vote
0 answers
312 views

How to store source code samples in MongoDb, so I can display it correctly?

all! I'm making a website similar to StackOverflow in the MEAN architecture, where users can submit some text, that contains stings of rich text, but can also contain snippets of code. Currently, I'm ...
Vid Stropnik's user avatar
1 vote
1 answer
146 views

Why content of middleware is running four times on single request from browser

Why does console.log('First Log') run 4 times per request? //app.js const express = require('express'); var app = express(); app.use((req, res, next) => { console.log('First Log'); // problem ...
Sunil Kumar Singh's user avatar
0 votes
0 answers
63 views

MEANJS.org folder structure

I've inherited a MEANJS.org project that I need to do, and the folder structure is so complex - I'm really struggling to understand what's going on! I've attached an image of a standard module's ...
LukeVenter's user avatar
0 votes
0 answers
97 views

How to read registered users list from mean stack server

I would like to be able to read the registered users list from the Mean Stack Mongo DB server and display it on my Web App. So far, I've only been able to access this list, which is encrypted, ...
GB86's user avatar
  • 15
0 votes
1 answer
522 views

npm start returning an error

I am having difficulty with an error when I run 'npm start' on my mean.js application. I will paste both the terminal output and the code from the file with the error. Terminal: /Users/developer/...
chody's user avatar
  • 199
0 votes
1 answer
84 views

For loop issue in MEAN node jS

I am trying to send the response when the loop k value is equal to users[0].employees.length, but it's directly moving forward to max length, how do I solve it Userlist.find(queryObj).exec(function (...
Sri's user avatar
  • 73
-1 votes
1 answer
74 views

How to pass parameters from angular4 component to express API

I am working for mean stack application. I am able to connect express api and angular component, but i want to pass parameters to the api service. Please find the code below for clearer idea, ...
Shashank S Chandel's user avatar
0 votes
1 answer
63 views

Submitting AngularJS form to linked Mongoose model

I'm using mean.js and want to create two form. One for the website and another for website page template. Website API POST route is /api/websites Page Template API POST route is /api/websites/:...
Abstract's user avatar
  • 561
0 votes
2 answers
219 views

How can i Bind or copy one input value into another input using of angularjs?

Hi all i am using MEAN stack in my Web portal with AngularJS as my front-end, In my portal i want to upload user profile image, so i have used uplodcareplatform to upload the images in my portal. My ...
R. Mani Selvam's user avatar
0 votes
0 answers
151 views

How to fetch input image url to another input using of angularjs?

Hi all i am using MEAN stack in my Web portal with AngularJS as my front-end, In my portal i want to upload user profile image, so i have used uplodcareplatform to upload the images in my portal. My ...
R. Mani Selvam's user avatar
0 votes
1 answer
41 views

Gcloud meanjs build failing via docker install

I'm trying to deploy the following container on google cloud app engine using gcloud app deploy, it's the meanjs.org vanilla image. It uses a dockerfile, I'm new to docker and I'm trying to learn it ...
jdpunk1's user avatar
  • 11
0 votes
0 answers
119 views

How to instantiate angular service with multiple resources?

I have an angular service based on meanjs for rents. Originally it looked like this: (function () { 'use strict'; angular .module('rents.services') .factory('RentsService', RentsService);...
Terraviper-5's user avatar
0 votes
1 answer
148 views

Dynamic Column css Based On Window Size AngularJs

This may be answered somewhere, but I am unsure of exact terminology as I am new to web development. I am working with a mean.js app and I have a a container that I am filling: <div class="...
Code2Code's user avatar
0 votes
1 answer
72 views

How does control flow from app.start() in MeanJS framework

I am trying to play around with the MEAN framework. I used their scaffolding available here. But I am getting confused on how the control flow happens from the time we start the server.js [node server....
Vivek's user avatar
  • 332
1 vote
2 answers
57 views

How to filter ng-repeat values based on another input ng-model value in angularjs?

repeat values based on another input ng-model value in angularjs? I have one input value like Social Psychology for this value ng-model is kpcategory I have used ng-repeat like ng-repeat="question in ...
R. Mani Selvam's user avatar
2 votes
1 answer
4k views

ReferenceError: number is not defined in MEAN

I am creating CRUD operation in MEAN , i have created dataScehema.js file to defined model var mongoose = require('mongoose'); var countrySchema = mongoose.Schema({ name: { type: number }, ...
B Kansara's user avatar
  • 1,118
1 vote
1 answer
193 views

node js asking browser to reload the page

I want to reload the page after some validations placed at the server side fails.. i have already tried with res.redirect res.location and location.reload() . I need to place the reloading logic on ...
prabhat mishra's user avatar
1 vote
1 answer
3k views

Why does MongoDB port 27017 need to be opened in AWS EC2 Security Group?

(I've searched SO, AWS support and more widely without success.) I've just successfully deployed a MEANjs application to a Bitnami MEAN instance on EC2, following Ahmed Haque's excellent tutorial on ...
JohnSk's user avatar
  • 93
0 votes
1 answer
51 views

Mongoose fails to update existing document when a field is required

I used MEANjs to create application and added CRUD module using yo generator. Also I registered two users in the application. After that with 'user 1' I created some records. Now I need to allow 'user ...
Pavel Pavlov's user avatar
1 vote
1 answer
82 views

Meanjs Forbidden Error

I am a new bee in AngularJs,below is the policy code created by Meanjs yo generator ,for learning purpose have created a library management system ,The problem what i am facing is when i am testing my ...
prabhat mishra's user avatar
0 votes
1 answer
53 views

MeanJS Internal server error 500 when trying to post

I am getting this error in the console when I am trying to insert a new record into the database. "POST http://localhost:3000/api/task 500 (Internal Server Error)". Here's the function: addTask(...
geok108's user avatar
  • 11
0 votes
1 answer
659 views

Passing the data from the Express API Parameter to Request Module in MEAN Stack

I am facing below issue with passing the parameters from the Express API to Request module URL. In the below code Suppose I have the request details as request_data.url = http://localhost:3000/...
Mahesh G's user avatar
  • 1,266
0 votes
1 answer
188 views

Angular graphs: grunt-angular-architecture-graph and grunt-angular-modules-graph

I wanted to do an Angular graph for my current project in StackMEAN, and I found this solutions: https://www.npmjs.com/package/grunt-angular-modules-graph https://www.npmjs.com/package/grunt-angular-...
Rach's user avatar
  • 1
0 votes
1 answer
328 views

How to connect to mongodb with authorization in meanjs?

I'm new to meanjs. My problem is: my local mongodb has username/password, and I can't run meanjs demo successfully. I git clone https://github.com/Azure-Samples/meanjs.git And try to run it(npm run ...
flight9's user avatar
0 votes
1 answer
4k views

Socket IO Live call and Video call (MEAN)

I am working on my Live chat Application (MEAN) . I have successfully completed a chat application ,I am using socket IO in node js. now I want to add a calling feature and also a video calling. what ...
Anupam Agnihotri's user avatar
0 votes
1 answer
104 views

MEAN.js' topbar Menu: Using icon/image instead of text for title

I am currently using the meanjs 0.4.2 for my project and i have problem trying to customize the topbar Menu's title. The menu gets populated for each module within its config file, for example: ...
Lê Gia Lễ's user avatar
0 votes
1 answer
3k views

How to show only time of date in AngularJS?

Hi All How to show only time value in angular js? My Plunker I have fetched time value using of ng-repeat, and I just want to show only time value in my portal. I were tried to fetch time value like &...
R. Mani Selvam's user avatar
1 vote
1 answer
292 views

Failed to instantiate module ngMaterial in mean stack

I am using mean js. am a newbie in angular and mean js .I have replaced angular bootstrap with angular material. Heres a copy of my bower.json: { "name": "meanjs", "description": "Full-...
saranya's user avatar
  • 19
0 votes
1 answer
200 views

MEAN-stack app: REST API calls from angular2 frontend to express backend do not work. Error: ERR_CONNECTION_REFUSED

I am building a MEAN stack app, following this tutorial: https://www.youtube.com/watch?v=PFP0oXNNveg&t=3236s The Problem: I try to do http.get() request from my angular2 frontend to my express ...
FavoriteFave's user avatar
0 votes
1 answer
337 views

how to pass object that is passed from html element to a function in parent controller to a controller that is inside the parent controller

I am trying to pass address object that is passed from html element to a function in parent controller(myAppController) to a controller(i.e. DialogController) inside the parent controller. I am ...
morfspin's user avatar
0 votes
1 answer
73 views

How to Get the Value Like First Drop Down Value Related to Another Drop Down Value using of Angular JS?

How to get the value like first select drop down value related to another select drop down value using of angular js? Hi all I have created two drop down fields in MyPlunker and with in the ng-option ...
R. Mani Selvam's user avatar
1 vote
0 answers
32 views

Protractor tests for meanJS admin pages?

Is there a way to create a Protractor test in meanJS for the admin only pages? On this GitHub issue, it explains that you have to modify the database to have an admin user. Right now, all the example ...
Dallas's user avatar
  • 179
0 votes
1 answer
55 views

How to get values selecting of first drop down values related to second drop down values using angular js?

How to get values one related to another using drop down in angular js? Hi all I have created two drop down fields in MyPlunker and with in the ng-option I have used filter like filter:{roles: 'kp'} ...
R. Mani Selvam's user avatar
1 vote
2 answers
689 views

How to filter specific role based username in drop down using angularjs?

How to filter specific role based username in drop down using angular js? Hi all I want to filter KP role username in drop down. Please look at My plunker for reference. First I have created all ...
R. Mani Selvam's user avatar
1 vote
2 answers
804 views

Mongodb load collection by ID

Probably something very simple here. I have 2 mongoDb collections, one (users) with an objectId and the other (listings) which has the userId. I want to get the documents in the listing collection ...
D.Neligan's user avatar
0 votes
1 answer
336 views

How to bind drop down field value in another input field using meanjs?

How to bind drop down field value in another input field using meanjs. Hi all Please look at this Plunker i have created, What I exactly looking is first we select school in plunker then we select ...
R. Mani Selvam's user avatar
0 votes
2 answers
122 views

Get drop down from array of object values using meanjs?

I am trying to get the values as a drop down or select field which were with in the comments array. I am trying for comments array of object commentText values in the drop down, how can i do this in ...
R. Mani Selvam's user avatar
1 vote
0 answers
22 views

ng-show only for admin and kp in meanjs?

In view.article.view.html i want to show html tag only if the authenticated user is admin or kp. I tried to do so like below, but it did not work. <p ng-show="vm.authentication.user.roles=='admin',...
R. Mani Selvam's user avatar
0 votes
1 answer
71 views

Unable to show new properties in User schema

I'm working within a MEAN app, and I'm modifying the User module. I modified the User Schema to contain 2 new properties: casetype and Steps. casetype is just a string, and Steps is an array. I ...
user avatar
0 votes
0 answers
323 views

Nodemailer Email sending not working

I'm trying to send an email from my application. I tried the below code. Can someone please help me where I'm wrong? When I'm submitting my form, I'm not getting any error. But, I'm not able to get ...
vcodeword's user avatar
0 votes
1 answer
589 views

How do I show 360 image in a-frame a-scene with custom size?

I have the code like this HTML <a-scene embedded> <a-sky src="modules/core/client/img/images/some.jpg" rotation="0 -130 0"></a-sky> </a-scene> CSS a-scene { height: ...
allakonda harish's user avatar
1 vote
0 answers
16 views

Use express-load in a modular mean project

I changed my project folder structure to use a modular approach where each functionality is grouped in folders inside "modules" directory (as defined at https://github.com/meanjs/mean). e.g.: How ...
Dhiego Duarte's user avatar
1 vote
0 answers
114 views

meanjs running fine in localhost but not in live server

I am using MeanJS[meanjs0.4.2] scaffolding for my web application. My application is running without any error in localhost, whereas in the live site i get the below shown error and empty page is ...
ArunkSamson's user avatar
0 votes
1 answer
588 views

How to get with in array values in ng-options using of angularjs?

I am trying to get the values as a drop down or select field which were with in the comments array. I am trying for comments array of commentText value in the drop down, how can i do this in the ng-...
R. Mani Selvam's user avatar

1
2 3 4 5
18