Search code examples
SyntaxError: Unexpected token 'export' in Jest...


typescriptjestjsts-jestcommonjsesmodules

Read More
Why does import of an ESM module in a CommonJS TypeScript project, result in ERR_REQUIRE_ESM?...


node.jstypescriptcommonjsdynamic-importesmodules

Read More
Dynamically load ESM module in CJS package in TypeScript...


typescriptimportes6-modulescommonjsdynamic-import

Read More
typescript node.js express routes separated files best practices...


node.jsexpressmoduletypescriptcommonjs

Read More
Exported function is undefined...


javascripttypescriptmocha.jsbabeljscommonjs

Read More
Tailwind 3.3.2 - module is not defined...


javascripttailwind-csses6-modulescommonjs

Read More
Rollup Error: 'default' is not exported by node_modules/react/index.js...


javascriptreactjsecmascript-6commonjsrollupjs

Read More
Universal way to use CommonJS in Javascript with ESM...


vue.jsvitees6-modulescommonjs

Read More
Field 'browser' doesn't contain a valid alias configuration...


npmwebpackcommonjswebpack-2package.json

Read More
Issue puppeteer CommonJS/ESM "puppeteer.Locator.race"...


javascriptpuppeteeres6-modulescommonjs

Read More
Is it possible to stub an exported function in a CommonJS module using sinon?...


javascriptnode.jsmockingsinoncommonjs

Read More
How can I use "Go To Definition" for CommonJS `require`s in VS Code when the path to resol...


node.jsvisual-studio-codeintellisensecommonjsgo-to-definition

Read More
Use Typescript with Google Apps Script...


typescriptgoogle-apps-scriptcommonjsclasp

Read More
Why NodeJS is able to load esm modules without default export for some packages?...


node.jses6-modulescommonjs

Read More
TypeError: Cannot convert object to primitive value when trying to use template literal in require(`...


reactjssvgvitecommonjs

Read More
Migrating Angular 13 to Angluar 18...


angularmigrationcommonjsangular18

Read More
difference between import and require...


javascriptnode.jses6-modulescommonjs

Read More
Vite CommonJS Resolver throws Unexpected Token Error when importing ESM...


create-react-appes6-modulesvitecommonjs

Read More
Remix (Vite) unable to import from @apollo/client into .tsx files issue...


viteapollocommonjsremix.run

Read More
Create declaration file for third party library as CJS...


javascripttypescripttypescommonjs.d.ts

Read More
How to import JavaScript files in NodeJS using file paths from project root? (instead of relative fi...


javascriptnode.jswebstormrequirecommonjs

Read More
ssh2: Module parse failed: Unexpected character '�'...


javascriptnode.jswebpackcommonjs

Read More
Exposed and private/local members in CommonJS modules...


javascriptnode.jsnode-modulescommonjs

Read More
How to make default export compatible with CommonJS...


typescriptwrappercommonjs

Read More
How is LOAD_PACKAGE_EXPORTS in the Node.js CommonJS spec supposed to work?...


node.jscommonjs

Read More
How can I rewrite a commonJS statement into an ECMAScript import when it uses consecutive requires o...


javascriptcommonjs

Read More
Run CommonJS code in ESM Module using runInThisContext...


javascriptnode.jsecmascript-6commonjs

Read More
As CommonJS dies out, what should go in a library’s package.json "main" field?...


javascriptnode.jsnpmpackage.jsoncommonjs

Read More
Module for Pretty Printing HTML?...


node.jsnpmcommonjsgruntjs

Read More
Using ES Module packages in Azure Typescript Function...


typescriptazureazure-functionscommonjsesmodules

Read More
BackNext