I have a script named index.js which I need to run with multiple command line arguements, one at a time. Something like this: node index.js ABC node index.js DE
My variables are undefined but im using .env file in the root of the project that same way it is described in the documentation. Also adding condif imported fro
I was following a code along video in Node.JS and creating the backend of a CRUD application. I was able to understand the logic for all the controllers for the
I'm using opencv.js for face detection. When I run this html file with the linked js files (opecv.js,utils.js) using a live server, it works.But,now when I copy
I am trying to make it when a user is tagged (eg. MyNameJeff#0001), the bot will automatically respond with you're not allowed to mention them and delete their
I successfully used vs code to write the sample program to script Node.js from C#. I use the following code block directly from https://github.com/tjanczuk/edge
I have a project in Node JS with the following structure: ormconfig.js package.json src main.ts user user.module.ts user.entity.ts user.service.ts (include a fu
Intro Basically, I am building an e-commerce website. But I got stuck in this problem while saving the order details after I click payment button (although I ha
When we check the doc of crypto from https://nodejs.org/api/crypto.html#cryptogeneratekeypairtype-options-callback, we see this sentence. If this method is inv
According to errors I faced with this TS/Node project (for a simple TypeScript only REST API) the suggested fix (mentioned here (https://github.com/heineiuo/rip
I am using python to host a local web server. I am using oracleDB in a javascript to execute inserts into the DB. I used browserify to compile the modules. Howe
Just curious if anybody has come across this error. Might be silly. Seems when I am trying to deploy a Node JS express API with a MongoDB atlas connection it ha
I need help with a very simple problem, but which for some reason I can't solve. I have a ajax post request that send data to a node.js server. From the server
I am working on Jest tests for a Node/Express TypeScript backend. I recently learnt about global test setup which I am implementing to reduce similar variables
Suppose we have an array of objects that we have to upload to a cloud service, the service will do something with each object and the return a result. The servi
I have massively simplified this code, but the idea is that it generates a random number, does an action then tests the response was the same random number gene
I create a single page application using react. I create protected route but after login, I can access login page after login. If I try to go login route I can
API response show all user data in database to website UI const [product, setProduct] = useState([]); const [user] = useAuthState (auth) useEffect(() => {
My overall goal is to apply the basic logic of the package "rate-limiter-flexible" for my Express Node.js application. I've gotten the basic functionality with
I am using gulpfile.js in my project to download files and it is working fine. var shell = require('gulp-shell'); gulp.task('folder_xyz', shell.task('curl --out