Issue I’m running Strongloop using PM2 as my process manager. pm2 start server/server.js -i 0 (starts strongloop in cluster mode). pm2 list (shows me two instances of server with different PID). pm2 list image example In my Angular-fullstack application: Run
Continue readingTag: angular-fullstack
Passport middleware, check if the user already has a living session from
Issue I am building a web application using angular-fullstack. The stack is using express-sessions for session storage (in Mongodb) and passport.js for authentication. I want to limit each user to a single login session. I am trying find a way
Continue readingHow to make my API Private by using cors in angular fullstack generator?
Issue I am using angular fullstack generator for my web app, I want to make my api a private one, meaning the response should be provided only from my domain. If the api is used from a different domain it
Continue readingInject ngMaterial using webpack, angular fullstack generator
Issue I want to build a web application and I have started building this by using the angular fullstack generator. This generator uses webpack and this is the first time I am using webpack. I have been trying to add
Continue readingAccidentally executed yo angular-fullstack in wrong path
Issue By mistake I executed command “yo angular-fullstack” in wrong folder. I want to know how to revert/delete the creation of app in this folder.Thanks in advance Solution You can simply just delete and go back to the path you
Continue readingImport UIkit Angular FullStack
Issue I’m getting this error trying to import UIkit with Angular FullStack generator: Module ‘uikit’ is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as
Continue readingAngular-Fullstack: Using $resourse query with params
Issue I’m using Angular-Fullstack generator, and I’m not able to get a list of drivers depending on a companyID, through $resource query. This is what I have: server/api/driver/index.js: router.get(‘/:company’, controller.index); server/api/driver/driver.controller.js: export function index(req, res) { return Driver.find({company: req.params.company}).exec() .then(function(res){
Continue readingInstallation error on angular full stack
Issue Hello everybody since the beginning of the week, I try to install angular fullstack but my problem is that when I’m set up the configuration with tools I want to use in angular full stack, I have this error
Continue readingClient side unable to hit its own server endpoint
Issue I’ve a AngularFullStack project in which I’m trying to hit my project’s server endpoint using the following code, however the problem is the call isn’t going through from angular client side to the nodejs server. Since it’s my first
Continue readingAngular 2: Where do I specify additional methods?
Issue I’m working hard on learning Angular 2 development, so excuse the basic question. I used Angular-full-stack (https://github.com/angular-fullstack/generator-angular-fullstack) to generate a skeleton app. Among other things, it pre-generates 5 files in client/app/main: main.controller.js, main.controller.spec.js, main.html, main.js, main.scss main.controller.js ‘use strict’;
Continue readingangular-fullstack – unable to add modules
Issue I’ve been trying to add the angular-chart (http://jtblin.github.io/angular-chart.js/) module to my angular app, but I keep getting the error message: Cannot find module ‘angular-chart.js’. This is what I’ve been doing: webpack.make.js if(TEST) { config.entry = {}; } else {
Continue readingCannot access Angular scope variable from pug/HTML (yeoman angular-fullstack)
Issue I cannot access from PUG to a variable in the controller. Please, may anybody help me? I´m trying to access the AwesomeThings array with $ctrl.awesomeThings, with JavaController.awesomeThings, with this.awesomeThings, with java.awesomeThings, and none of them seem to work. The
Continue readingCSRF token missing, Ionic – AngularJS FullStack
Issue I Have a project with the backend on a MEAN stack started with AngularJS Full-Stack generator and an app under Ionic, when i try to do a POST request to do a login from the Ionic app the server
Continue readingMongo error, i can't run my two applications
Issue I generated two projects with the AngularJS Full-Stack Generator. The problem is when i run the command gulp serve in both projects, only opens one of them. In the console of the other project it show me: (node:1236) DeprecationWarning:
Continue readingCircular dependency error in angular 5
Issue Always I’m getting warning that is circular dependency WARNING in Circular dependency detected: src\app\auth\logout\logout.component.ts -> src\app\auth\_services\authentication.service.ts -> src\app\app.module.ts -> src\app\app-routing.module.ts -> src\app\auth\logout\logout.component.ts WARNING in Circular dependency detected: src\app\theme\layouts\header-nav\header-nav.component.ts -> src\app\_services\data\emp.service.ts -> src\app\app.module.ts -> src\app\theme\layouts\layout.module.ts -> src\app\theme\layouts\header-nav\header-nav.component.ts WARNING in Circular
Continue readingExecute parent controller method using modalInstance.result.then() AngularJS
Issue I’m trying run a class method (in the controller that creates my $uibModal) once the modal’s “okay” button has been pressed. My understanding is that the modalInstance is returning a modal object from the component, and therein lies my
Continue readingAngular cli as frontend with backend python framework, how to make them work?
Issue My question is how data pass between Angular 4 and tornado(or any python framework?) I have been doing googling for past few days, but I still could not figure out how it works. I am using Angular4 as frontend
Continue readingHow to pass models from API to components
Issue What’s the best way for transferring models between backend and frontend. Is it better to clone the backend ones in frontend even if not all properties are used ? Or use DTOs to transfer only necessary properties for each
Continue readingDeploying Angular-Fullstack (MEAN) on Google App Engine
Issue I’ve generated a project with Yeoman Angular-Fullstack generator (https://github.com/angular-fullstack/generator-angular-fullstack). I created an app.yaml and tried to deploy the project on GAE with command: gcloud app deploy But I’m getting an error: ERROR: (gcloud.app.deploy) Error Response: [13] Timed out when
Continue readingHow to prevent git commit from deleting files
Issue I just did a git commit and it deleted a few files seemingly randomly from my node_modules folder. Has anyone had this issue? To be clear, my latest git commit deleted delete mode 100644 node_modules/grunt-google-cdn/node_modules/google-cdn/node_modules/cdnjs-cdn-data/external/cdnjs.json delete mode 100644 node_modules/grunt-node-inspector/node_modules/node-inspector/front-end-node/Images/src/favicon.eps
Continue readingHow to display data from backend with a Promise() in Angular?
Issue I would like to display a page from my Backend to my Angular frontend. Backend: at ‘http://localhost:8080/test‘ I display a simple “hello” text. Frontend: at ‘http://localhost:4200/editeur‘ there’s a button. When I click on the button, I would like to
Continue reading"How to set the DatePicker in Angular Matrial 7 ? Input Tag getting hide ?"
Issue I am working with Angular Material and facing the problem to manage the DatePicker component because it’s doing hide input box and because of that the date is not coming in the value of Input tag. <input matInput [matDatepicker]=”picker1″
Continue readingHow to make a web api call to propublica.org from angular service
Issue I’m trying to use get information from propublica.org’s congress api from an Angular 8 service. Being new to Http calls to an external web api, I’m struggling with reading the documentation found here: https://projects.propublica.org/api-docs/congress-api/#requests The best thing I could
Continue readingAngular 5 formgroup list controls or iterate them
Issue I am using angular 5 with formgorup and wish to iterate the controls, in order to create a dynamic component based on a form, the forms fields are given by an external data service (database etc.) It is declares
Continue readingRegistration Form REST API Best Practices
Issue I’m building a SaaS application using the MEAN stack and have a few questions regarding how best to secure registration forms. Express.js is what I’m using to generate the endpoints (via angular-fullstack) I have “tenants” that register using a
Continue readingyo angular-fullstack:endpoint message does not generate message.socket.js
Issue yo angular-fullstack:endpoint shopPacket does not generate shopPacket.socket.js I tried to update yo angular full stack generator but still does not work yo angular-fullstack:endpoint shopPacket ? What will the url of your endpoint be? /api/shopPackets create server/api/shopPacket/shopPacket.controller.js create server/api/shopPacket/shopPacket.events.js create
Continue readingCreating a new config parameter in wdio.config.js in Node.js
Issue I am writing an automation framework and wondering how to create environment properties file like Java. I know wdio.config.js is the place where we hold baseURL and other stuff. Say I would like to create new placeholders like “Login”
Continue readinghow to retrieve data form the server in angular
Issue I’m trying to build my first web application using angular and Nestjs. when I try to get data from the server error was shown in the browser console. any help with that please. core.js:4081 ERROR TypeError: this.books is not
Continue readingError in starting the lite-server using NPM
Issue npm ERR! code EJSONPARSE npm ERR! file C:\Users\thehitmanranjan\Desktop\git-test\package.json npm ERR! JSON.parse Failed to parse json npm ERR! JSON.parse Unexpected string in JSON at position 240 while parsing ‘{ npm ERR! JSON.parse “name”: “git-test”, npm ERR! JSON.parse “version”: “1.’ npm
Continue readinggulp serve – Error: Cannot find module './build/bindings/encode.node'
Issue try to install on my AWS EC2 ubuntu server the angular-fullstack framework found in here angular-fullstack Getting this error after running ‘gulp serve’: module.js:471 throw err; Error: Cannot find module ‘./build/bindings/encode.node’ at … on my mac os everything works
Continue readingJSON data undefined while using in HTML
Issue I am new to Angular and Node and have been working on a full stack development. I am reading the data on Angular from Node which I have connected to MySQL. I am somehow stuck at outputting my data
Continue readingHow to send a number to node.js from Angular
Issue I am working on a full stack development using Angular, Node and mySQL. I have to send an index number of a list that the user clicks on an HTML, to a node.js where then, I will have to
Continue readingshow user a fake route in angular
Issue I am working on a full stack development using Angular, Node and MySQL. I want to ask if there’s a way I can add a fake route to show it to a user. Let me explain, I want to
Continue readingModule has no exported member 'CanActivate' in Angular
Issue I am working on a full stack development using Angular, Node.js and MySQL. I am trying to add a route guards in my auth-guard.service.ts file but, when I try to import CanActivate from @angular/core, it gives an error. Module
Continue readingDoes service.ts get executed before component.ts?
Issue I am working on an angular app where I want to fetch data from REST API and display it on browser in the form of a graph. The issue is that the graph gets rendered as soon as the
Continue readingSend a file from Angular to Node.js
Issue I am creating a form to allow users to upload their files. I am using Angular for the front end and Node.js/MySQL for the backend. However, I am getting an error. When I try to send file from Angular
Continue readingExpress.js: TypeError: path argument is required to res.sendFile
Issue I am uploading my files in a directory using Multer. I want to download those same files which I have uploaded as I am displaying them in the form of a table on the template with each file having
Continue readingAngular: Send more than two arguments in HTTP get request
Issue I am working on an application where I want to download a file after clicking on a button on a template. There are many files that are being displayed on the screen and each file has a separate button.
Continue readingDeploy Node.js on tomcat
Issue I have developed an application using Angular, Node/Express and MySQL. I have deployed my Angular application on the tomcat server, which is connected to some 10 PCs. However, I want to deploy my backend i.e, Node.js/Express.js on the same
Continue readingAngular + Canvasjs: Octal literals are not allowed in strict mode
Issue I am working on full stack development and using Angular, Node/Express and MySQL. I am trying to add a graph in my angular application which will be displayed on the basis of the data available in my database. I
Continue readingError:Property 'bypassSecurityTrustUrl' does not exist on type 'typeof CommonFunctions', when using it in a function?
Issue I want to build a common class for the frequently used statements in function. and i am getting error if i use this keyword within a function. import {Component} from ‘@angular/core’; import { DomSanitizer } from ‘@angular/platform-browser’; export class
Continue readingsequelize, Statement(where) in statement(where)
Issue I’m trying for 2 hours to resolve a little problem which is not one. I’m on an generated yeoman Angular-fullstack App. I want to write this code with sequelize: SELECT * FROM demand WHERE city_id NOT IN ( SELECT
Continue readingAngular: Print Null from an asynchronous data that contains null
Issue I am fetching the data from backend (Node.js/Express.js + Oracledb) which contains some null values. I want to print Null in the table in HTML where the data contains null. Is there a way that I can do that?
Continue readinghow to do steps on github actions workflow for frontend and backend separately within same repository?
Issue I have a merchant app github repository which consist of backend and frontend packages on my .github/workflows directory I created a frontend.yml and backend.yml how can configure to run my workflow on a specific folder? Solution Github actions have
Continue readingangular http client is not working when calling node backend locally?
Issue Trying to call nodejs local host using angular http client but it is not hitting the backend i have added url in the proxy.config in angular app as i added in the question that doesnt work either any idea
Continue readingDo I need Backend-for-Frontend if I am using a framework like Angular
Issue I am using Angular for my frontend application, there is an already established backend service which I am using to retrieve data. I have no control over that backend service, it is more like a legacy system that is
Continue readingDo I need Backend-for-Frontend if I am using a framework like Angular
Issue I am using Angular for my frontend application, there is an already established backend service which I am using to retrieve data. I have no control over that backend service, it is more like a legacy system that is
Continue readingDo I need Backend-for-Frontend if I am using a framework like Angular
Issue I am using Angular for my frontend application, there is an already established backend service which I am using to retrieve data. I have no control over that backend service, it is more like a legacy system that is
Continue readingDo I need Backend-for-Frontend if I am using a framework like Angular
Issue I am using Angular for my frontend application, there is an already established backend service which I am using to retrieve data. I have no control over that backend service, it is more like a legacy system that is
Continue readingDo I need Backend-for-Frontend if I am using a framework like Angular
Issue I am using Angular for my frontend application, there is an already established backend service which I am using to retrieve data. I have no control over that backend service, it is more like a legacy system that is
Continue readingDo I need Backend-for-Frontend if I am using a framework like Angular
Issue I am using Angular for my frontend application, there is an already established backend service which I am using to retrieve data. I have no control over that backend service, it is more like a legacy system that is
Continue readingDo I need Backend-for-Frontend if I am using a framework like Angular
Issue I am using Angular for my frontend application, there is an already established backend service which I am using to retrieve data. I have no control over that backend service, it is more like a legacy system that is
Continue readingDo I need Backend-for-Frontend if I am using a framework like Angular
Issue I am using Angular for my frontend application, there is an already established backend service which I am using to retrieve data. I have no control over that backend service, it is more like a legacy system that is
Continue readingDo I need Backend-for-Frontend if I am using a framework like Angular
Issue I am using Angular for my frontend application, there is an already established backend service which I am using to retrieve data. I have no control over that backend service, it is more like a legacy system that is
Continue readingDo I need Backend-for-Frontend if I am using a framework like Angular
Issue I am using Angular for my frontend application, there is an already established backend service which I am using to retrieve data. I have no control over that backend service, it is more like a legacy system that is
Continue readingDo I need Backend-for-Frontend if I am using a framework like Angular
Issue I am using Angular for my frontend application, there is an already established backend service which I am using to retrieve data. I have no control over that backend service, it is more like a legacy system that is
Continue readingCan't get Boolean as BodyParameter from RouterFunction<ServerResponse> with BodyToMono
Issue I’m trying to get a boolean parameter from an Angular 6 app and Spring can’t handle it. I got the following error : org.springframework.web.server.UnsupportedMediaTypeStatusException: 415 UNSUPPORTED_MEDIA_TYPE "Content type ‘text/plain;charset=UTF-8′ not supported for bodyType=java.lang.Boolean" That’s my front end code :
Continue readingJava Webserver W/ Angular Control Panel Web Interface
Issue I have created an application using spring boot that uses angular for the front end and is a basic login portal with encrypted credentials and click verification, what I want to do is have like when someone visits the
Continue readingAngular & Laravel Advanced Searching
Issue I’m doing full stuck development using Angular12 as Front End and Laravel as BackEnd. I want to do a search using multiple values but I don’t have any idea. I could search using a single value but I want
Continue readingHow to Prevent Webpack Error after npm Install?
Issue I was working on a project, and everything was going good, until I did npm install. Then, Webpack throws the following error: new ForkCheckerPlugin(), ^ TypeError: ForkCheckerPlugin is not a constructor at makeWebpackConfig (/home/nsanz/Documentos/git/tachology/webpack.make.js:252:9) at Object.exports.default (/home/nsanz/Documentos/git/tachology/server/config/express.js:86:27) at Object.<anonymous>
Continue readingJhipster webpack production ERROR in ./src/main/webapp/app/app.main.ts ,Module not found:Error: Can't resolve './app.module.ngfactory'
Issue When did I run yarn run webpack:prod , it showed -> ERROR in ./src/main/webapp/app/app.main.ts Module not found: Error: Can’t resolve ‘./app.module.ngfactory’ in ‘/home/myProject/src/main/webapp/app’ @ ./src/main/webapp/app/app.main.ts 2:0-62 I am using : Jhipster version : 4.13.3 Angular : 5.1.0 Jdk-1.8 os
Continue readingAngular get http response
Issue Hello i am at trying to learn some Angular things. I am struggle with response of get from my api. I am using also a spring boot in java. Here is my service in angular : import {HttpClient} from
Continue reading