Category "node.js"

node.sass not compiling index.scss file with variables

I'm trying to get node-sass to compile the following index.scss file. The error returned has to do with a call in bootstrap.scss file within node_modules. @imp

Images not showing up on Opensea, unable to update

Using node,vscode, Create-10k- NFT-Collection My baseUri is not updated. I’m a newbie but I have tried reading and looking through help sections. Here is

How to get less than or greater than value based on specific column in mongodb using node js?

Suppose that,I have a product collection named productCollection.How can i get all those products where the product's amount is less than a specific amount?What

OpenSea Error - Please use providerUtils.standardizeOrThrow()

I'm having trouble using the openseas.js library. I'm trying to do a getAsset call on a random asset on openseas I found, but I keep getting Error: DEPRECATED:

How to get specific chunks from stream node js

I'm trying to make a server that are used like a "CDN proxy". We have S1: main server that has all media S2 CDN proxy client The aim is: obtain a stream from se

How to expose any API globally on Node

I have a web development framework which I use on personal backend projects. All web apps revolve around my framework and the API is quite big so importing it i

Promise { <pending> } React bcrypt hashing the Password [duplicate]

I am creating a Login/Registration Form Using Nodejs. I am hashing the password entered by the user using bcrypt.js but when I assign the pass

Searching buffer string using Nodejs

I have an Revit .rvt file (which is a .7z file under the hood), which I know contains a specific phrase within the first 30,000 bytes. I've attempted to use Nod

When i fetch Heroku deployed a link, there is an error 500 (Internal Server Error)

If i used http://localhost:5000/login everything is working. When i used live link https://auto-shoroom.herokuapp.com/login there's the error POST https://auto-

How to escape apostrophes using NodeJS

I'm trying to update a column in my PostgresQL database using Nodejs: res.rows.forEach((tmdbID) => { (async () => { const json = await fetchMovieDat

Typescript SyntaxError: Cannot use import statement outside a module (side file containing functions)

I am creating a minecraft bot using mineflayer library. After a bit of work I decided to make code readable and reusable (image of file organisation) and also s

Server can not perform JWT Authentication Request on MERN

I was working on a MERN app and was trying to use jason web-token (JWT) and bcrypt for authentication. It uses two routes for signup and authentication. However

Async function not running some code even inside await

I have a Node.js AWS Lambda function created via the serverless framework. I have multiple helper functions inside it. I am having an issue with one of them due

How to append to second last line in a file in NodeJs

I want to append to second last line of a file using NodeJs! I hope I am making sense. Thanks in advance My current code which appends to end of the file: fs.ap

how can i implement or convert a python code to javascript to be used with tensorflow js

how could I use this code in python with tensorflow js? it is to occupy it with a model that was trained with the dataset tf.keras.applications.ResNet152(input_

Why am I getting this MySQL error with node?

I have connected to the database on MySQL, and was able to input data to a table. However, I am not able to input data to another table when it seems that I'm u

Why am I getting this MySQL error with node?

I have connected to the database on MySQL, and was able to input data to a table. However, I am not able to input data to another table when it seems that I'm u

Css and Js not working after deploying the next+react project to server side

I have React+next and node js projects I want to deploy that project in one port. For that, I created ts file to js and ran the. next folder to the backend side

Firebird query returns Buffer

This is my first time connecting to a Firebird database from Node JS. I'm using the "node-firebird" package. Everything seems to work fine. But I get these <

Module not found: Can't resolve 'regenerator-runtime' in next js 12.1.5 with react 18 with node 16

My package.json is like "scripts": { "dev": "next dev" }, "dependencies": { "next": "^12.1.5", "react": "^18.0.0", "react-dom": "^18.0.0"