5 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.
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.