Nodejs
26 results found
-
Error: listen EADDRINUSE: address already in use :::5000 in Node
My app threw Error: listen EADDRINUSE: address already in use :::5000 in Nodejs when I was trying to use express package that help create server with port 5000.
-
Nodejs ReferenceError: require is not defined in ES module scope
Nodejs ReferenceError: require is not defined in ES module scope, you can use import instead when I am using express to help create a server. Anyone can help?
-
Nodejs: Only file and data URLs are supported by the default ESM loader
NodeJS Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader when I tried to call API by using node-fetch.
-
Error Require() of ES modules is not supported in Nodejs
Nodejs Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: require() of ES modules is not supported. Anyone can help me explain and solve this issue?
-
Error: Cannot find module 'node-fetch' in Express NodeJs
My application threw Error: Cannot find module 'node-fetch' in NodeJs when I was trying to clone source code from Github and run it on windows 11.
-
SyntaxError: await is only valid in async function in Nodejs
My application throw SyntaxError: await is only valid in async function in Nodejs when I was trying to fetch data from an API, that return a list of User.
-
Error: Cannot find module 'dotenv' in NodeJs express
My app threw Error: Cannot find module 'dotenv' in NodeJs when I was trying to read data from .env file that help me get some const values.
-
Error: ReferenceError: window is not defined in NodeJs
My Nodejs app throws the error ReferenceError: window is not defined when I was running a server and detect device to response something differnt.
-
NodeJs: The "chunk" argument must be of type string or an instance of Buffer
Node js: TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buffer. Received an instance of Color
-
Error: Incorrect arguments to mysqld_stmt_execute in Nodejs
I get an exception error: Incorrect arguments to mysqld_stmt_execute in Nodejs when I was trying to connect to MySql DB and get data.
-
NodeJs MongooseError: Operation 'x.find()` buffering timed out after 10000ms
Exception throw mongooseError: Operation 'x.find()` buffering timed out after 10000ms in Nodejs when trying to get some data by id or name
-
NodeJs no 'Access-Control-Allow-Origin' header is present on the requested resource
NodeJs XMLHttpRequest cannot load localhost:3000. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'localhost:4000' is therefore not allowed access.
-
Exception throw referencerrror: fs is not defined in NodeJs
I got an exception throw referencerrror: fs is not defined in NodeJs when I trying to open and read a txt file by using fs package.
-
ReactJS ReferenceError: regeneratorRuntime is not defined
I got an exception throw Babel 7 ReferenceError: regeneratorRuntime is not defined in Reactjs when running application with npm run command.
-
Nodejs express throw npm err! missing script: start
Nodejs express server throw "npm err! missing script: start" when I was trying to run my application. I used express.js to create webserver.