You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With a TS v2 addon, and type module, I can't build the project, and receive this error:
/home/nullvoxpopuli/Development/NullVoxPopuli/preem/node_modules/.pnpm/node_modules/@babel/highlight/lib/index.js:10
var _chalk = _interopRequireWildcard(require("chalk"), true);
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /home/nullvoxpopuli/Development/NullVoxPopuli/preem/node_modules/.pnpm/node_modules/chalk/source/index.js from /home/nullvoxpopuli/Development/NullVoxPopuli/preem/node_modules/.pnpm/node_modules/@babel/highlight/lib/index.js not supported.
Instead change the require of /home/nullvoxpopuli/Development/NullVoxPopuli/preem/node_modules/.pnpm/node_modules/chalk/source/index.js in /home/nullvoxpopuli/Development/NullVoxPopuli/preem/node_modules/.pnpm/node_modules/@babel/highlight/lib/index.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/home/nullvoxpopuli/Development/NullVoxPopuli/preem/node_modules/.pnpm/node_modules/@babel/highlight/lib/index.js:10:38)
at Object.<anonymous> (/home/nullvoxpopuli/Development/NullVoxPopuli/preem/node_modules/.pnpm/node_modules/@babel/code-frame/lib/index.js:8:18)
at Object.<anonymous> (/home/nullvoxpopuli/Development/NullVoxPopuli/preem/node_modules/.pnpm/node_modules/@babel/template/lib/parse.js:9:18)
at Object.<anonymous> (/home/nullvoxpopuli/Development/NullVoxPopuli/preem/node_modules/.pnpm/node_modules/@babel/template/lib/string.js:8:14)
at Object.<anonymous> (/home/nullvoxpopuli/Development/NullVoxPopuli/preem/node_modules/.pnpm/node_modules/@babel/template/lib/builder.js:8:15)
at Object.<anonymous> (/home/nullvoxpopuli/Development/NullVoxPopuli/preem/node_modules/.pnpm/node_modules/@babel/template/lib/index.js:8:16)
at Object.<anonymous> (/home/nullvoxpopuli/Development/NullVoxPopuli/preem/node_modules/.pnpm/node_modules/@babel/helper-function-name/lib/index.js:7:17)
at Object.<anonymous> (/home/nullvoxpopuli/Development/NullVoxPopuli/preem/node_modules/.pnpm/node_modules/@babel/helper-create-class-features-plugin/lib/index.js:32:27)
at Object.<anonymous> (/home/nullvoxpopuli/Development/NullVoxPopuli/preem/node_modules/.pnpm/node_modules/@babel/plugin-transform-typescript/lib/index.js:9:40)
npm run build:js exited with code 1
I don't have any hypothesis for this one
The text was updated successfully, but these errors were encountered:
NullVoxPopuli
changed the title
type=module is somehow now compatible with babel
type=module is somehow incompatible with babel
Nov 19, 2023
With a TS v2 addon, and type module, I can't build the project, and receive this error:
I don't have any hypothesis for this one
The text was updated successfully, but these errors were encountered: