All Questions
903
questions
0
votes
1
answer
28
views
Printing to a Local Printer Hands-Free with node/express/react
I'm working on a project wherein I'd like to interface with a local printer through node.
Everything I've read implies that this is impossible without some user interaction but I'm not sure if this ...
0
votes
0
answers
18
views
DigitalOcean not installing devDependencies in build phase
I'm working on an API with Typescript and expressjs. It was running fine on DigitalOcean till now with the following configs.
{
"name": "i_h",
"version": "1.0.0&...
0
votes
1
answer
215
views
npm install progress bar not showing
I use a MacBook Pro m2, whenever i used to run the command "npm install something", i used to get a good looking progress/loading bar animation like this one below.
Loading bar i used have ...
7
votes
0
answers
5k
views
npm warns about memory leak in a transitive dependency of bcrypt [closed]
Context
After installing bcrypt, I received several warnings about deprecated packages, but the first one is especially troubling:
$ npm install bcrypt
npm WARN deprecated [email protected]: This module ...
0
votes
0
answers
11
views
Google oAuth2 "Authorisation required" error
I'm getting an authentication error while trying to authenticate with my e-mail. I think maybe my code is failing to create the "token.json" file. I tried doing explicit logging to ...
0
votes
1
answer
70
views
Cannot find module 'express', error when installing express
I have successfully deployed my Node.js project on a Ubuntu VPS, but when I try to run it, it's showing an error Error: Cannot find module 'express' - as shown in (1), even though I have installed ...
0
votes
1
answer
68
views
Throwing unhandled error throw er; // Unhandled 'error' event
` // server/index.js
const express = require("express");
const PORT = process.env.PORT || 3001;
const app = express();
app.get("/api", (req, res) => {
res.json({ ...
0
votes
0
answers
35
views
SPA express routing but allowing NPM Package imports
I tried to create a single page application which serves index.html from an express router. My express router looks like this:
const express = require('express');
const path = require('path');
const ...
0
votes
2
answers
87
views
Unable to access Chart.Js library from npm package install
For context I am building a web application that logs hours spent on certain skills or activities and then displays this data back to the user via a bar graph using Chart.js. I am able to successfully ...
0
votes
2
answers
60
views
How to solve "Showing nodemon is not recognized as an internal or external command"?
On running npm start my node js is not starting.
Showing this on npm start
'nodemon' is not recognized as an internal or external command, operable program or batch file.
I even checked my ...
0
votes
0
answers
12
views
React npm package to solve a Problem facing on my e-commerce website where I have to edit the image inside the image
I have a problem with a editing the image inside a image , its like a E-commerce where people can edit their mobile case,T-shirt logos,cups with their photo and bottle with there own photo and adding ...
0
votes
0
answers
165
views
How to Solve msnodesqlv8 npm package Error in Deployment for Render Web Service?
I am just a beginner at using nodejs and express JS, recently I used Render web service to deploy my web application, until I came across this particular error on the build logs during the building ...
0
votes
2
answers
38
views
Need running node in a file (getting a throw err) Express, Node.js
I need a solution please:
I'm new into node and express. I try to run my server.js file , but as soon as i do that i get this error.
It's saying im on the wrong path but I'm not. Take a look here:
...
0
votes
0
answers
53
views
NodeJS Microservices by custom npm packages
I'm planning to develop a modular ERP that would run on each company server and have a custom set of modules. (here I mean by "module" as an ERP feature).
So I'd like to implement the ...
0
votes
0
answers
77
views
Error: EPERM: operation not permitted, mkdir 'D:\'
got this error while using node
tried to initialize the node project and got this error after hitting npm i command:
PS D:\Task-Manager-APi>npm i
npm ERR! code EPERM
npm ERR! syscall mkdir
npm ...