Search code examples
Can't import "mysql2/promise" into ES module (MJS) on Node.js 13 / 14...

javascriptnode.jses6-modulescommonjses6-module-loader

Read More
TypeScript package with multiple entry points...

typescriptnode-moduleses6-modulescommonjs

Read More
Can export a class, but can not export a functions in JS...

javascriptcommonjs

Read More
Creating a standalone tool script in a CommonJS project...

node.jstypescriptcommonjs

Read More
Babel 6 changes how it exports default...

javascriptecmascript-6babeljscommonjs

Read More
Trying to import the tailwind config to access color values as js vars in a .tsx file throws an erro...

javascripttypescripttailwind-cssvitecommonjs

Read More
Is CommonJS 'require' still used or deprecated?...

javascriptes6-modulescommonjs

Read More
What is the difference between module.exports=require('other') and the same with a temporary...

node.jses6-modulescommonjs

Read More
Changing variable value in module with async function and than importing in other one...

javascriptnode.jsasynchronouscommonjs

Read More
Get Async Dependency globally Inversify...

typescriptexpresscommonjsnodejs-serverinversifyjs

Read More
How to include modules in Node.js...

javascriptnode.jses6-modulescommonjs

Read More
Prevent CommonJS module imported into ES module from executing code...

javascriptes6-modulescommonjs

Read More
Axios response is raw in npm package...

node.jstypescriptnpmaxioscommonjs

Read More
How To Use ScrollMagic with GSAP and Webpack...

javascriptwebpackcommonjsgsapscrollmagic

Read More
commonJS module: exported as a function, imported as an object...

node.jsrequirecommonjsmodule.exports

Read More
Use top level await in CJS script and import a ES module...

javascriptnode.jsasync-awaites6-modulescommonjs

Read More
Typescript module systems on momentJS behaving strangely...

typescriptmomentjscommonjssystemjs

Read More
Can TypeScript import both ESM and CJS dependencies?...

typescriptes6-modulescommonjs

Read More
how do i resolve promises...

javascriptdiscord.jscommonjs

Read More
What is the correct CommonJS structure for a Titanium project?...

javascriptiostitaniumtitanium-mobilecommonjs

Read More
supporting both CommonJS and AMD...

javascriptamdcommonjs

Read More
Varying ESLint handling for mjs, js, and ts files...

typescripteslintcommonjs

Read More
Require to Import with initialization paramater...

javascriptnestjscommonjs

Read More
How to use 'discord.js' module in SvelteKit? "require is not defined" error occurr...

ecmascript-6discord.jsvitecommonjssveltekit

Read More
TypeError: AWS.S3 is not a constructor...

typescriptes6-modulescommonjsaws-sdk-nodejsnpm-package

Read More
Should the index.ts be resolved by TypeScript as default module file?...

typescriptcommonjses6-modules

Read More
React Native with TypeScript and cucumber-js: Importing TypeScript Functions into Cucumber Step Defi...

typescriptreact-nativecucumbercommonjsts-node

Read More
Is there a point to doing 'import type' rather than 'import' with Flow?...

javascriptecmascript-6flowtypecommonjs

Read More
Sveltekit: Importing ESM package produces errors that works with vite...

sveltees6-modulescommonjsarcgis-js-apisveltekit

Read More
ERR_REQUIRE_ESM require of of ES Module not supported how can I fix this? on file-type package...

babeljscommonjsesmodules

Read More
BackNext