25 results found
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 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.
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?
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.
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.
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.
My Nodejs app throws the error ReferenceError: window is not defined when I was running a server and detect device to response something differnt.
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
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.
Exception throw mongooseError: Operation 'x.find()` buffering timed out after 10000ms in Nodejs when trying to get some data by id or name
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.
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.
I got an exception throw Babel 7 ReferenceError: regeneratorRuntime is not defined in Reactjs when running application with npm run command.
Nodejs express server throw "npm err! missing script: start" when I was trying to run my application. I used express.js to create webserver.
I get an exception throw the error: Cannot find module 'express' in NodeJs version 14.17.5 when I try to create a server with express module.