Skip to main content

All Questions

Tagged with
0 votes
0 answers
46 views

type 'Null' is not a subtype of type 'String how to solve this problem [closed]

NoSuchMethodError: Class 'List' has no instance method 'Map'. Receiver: Instance(length:0) of '_GrowableList' Tried calling: Map(Closure: (dynamic) => Map<String, dynamic>) you may look here ...
MOHAMED AMIIN ABDI AADAN's user avatar
0 votes
0 answers
28 views

I get a Cannot POST /login error when i'm not sending a POST request to the /login endpoint

I'm building a web application where users can register and login using Node.js, Express, and a PostgreSQL database. However, I'm encountering an issue with my frontend and backend communication. When ...
rbt's user avatar
  • 1
1 vote
1 answer
35 views

What is the difference between using express.urlencoded() with extended set to true vs set to false + manual JSON stringify/parse calls?

In my NodeJS/Express server I must choose between setting extended to true or to false for the urlencoded middleware: app.use(express.urlencoded({ extended: true/false })); I understand that if we ...
Oscar R's user avatar
  • 452
0 votes
1 answer
58 views

FedEx API Rate Quote Returns 404: "The resource you requested is no longer available"

I'm trying to integrate the FedEx API to get shipping rate quotes in my Node.js application. I've followed the documentation, but I'm consistently getting a 404 error with the message: "The ...
Bigshow77's user avatar
-3 votes
0 answers
35 views

JSON.parse returning a Promise? [duplicate]

I'm working on a small database using a JSON file stored with GitHub Gist using JavaScript. I have a working get() function, but the problem is it sometimes seems to return a promise and sometimes not....
ObSp's user avatar
  • 21
0 votes
2 answers
52 views

How to make user data persistent in local storage in electron-app?

I'm building a tasks-to-do application using electron. As I'm new using it, I have found a lot of problems to make the tasks already uploaded persistent in the application. I'm creating the tasks ...
MavapeGZ's user avatar
0 votes
1 answer
57 views

Remove the deeply nested structure from the JSON and simplify it

I have a JSON which has deep nested structure, I want a generic function in Javascript/Typescript to remove that multiple deep structure. Generic like there might me any parent other than categories ...
Waqar Ali's user avatar
0 votes
1 answer
163 views

how to retrieve ReadableStream data from res.body in JS

I am fetching data from my backend using fetch function and it returns a readableStream as response's body. How can I extract the data in that readable stream? I've tries using res.json method, but it ...
Abhay Sahu's user avatar
0 votes
0 answers
19 views

Unexpected end of JSON input error during SignIn in React app when deployed

I'm working on a React app that includes a SignIn component. Everything works fine when I run the app locally, but when I deploy it, I encounter the following error when trying to sign in There is ...
Alexander Strife's user avatar
0 votes
1 answer
102 views

JSON.parse not parsing string of array of object

In my Node.js file route I am rendering an ejs file with variables passed as stringified array of object - let scriptArray = [ { charValue: 'a', encodedValueMain: 'g', }, { charValue:...
Abhay Sahu's user avatar
2 votes
3 answers
61 views

Changes in JSON file are not reflecting

I am trying to create API and for client purpose i am using node postman.In delete method client is able to delete the json object but it is not reflecting in json file. const express = require("...
jainyashit's user avatar
1 vote
1 answer
44 views

Empty Date Parameter Returning Incorrect JSON Object in Express.js

I'm currently working on the FreeCodeCamp Timestamp Microservice project and I've encountered an issue with the implementation. While most of the requirements pass successfully, I'm having trouble ...
Kernel-rb's user avatar
0 votes
0 answers
26 views

couldn't figure out why the data from std(standard) subcolumn are not showing up

im making a table for a management system interface, and the way the table gets its data is from mysql and the other is fetched from json file, the std data fetched from the json file is assigned to ...
Munif Fachrudin's user avatar
1 vote
0 answers
26 views

How to put it in order Excel to JS

guys I have a program that reads data from Excel and then compares it with the numbers entered by the user. My data is Height and Width (this is entered by the user) and using this data I would like ...
1skora's user avatar
  • 31
1 vote
0 answers
32 views

How do I download a pdf being passed as varbinary buffer data to front end?

Im currently working on a project using node.js, express and mssql. I have a table that stores all pdf files in varbinary format. I am retrieving this data from the table and creating an object named ...
Tyler Ewing's user avatar

15 30 50 per page
1
2 3 4 5
431