rightnow
How to add Stylistic options like ident: 'tab', quotes: 'single', to eslint.config.mjs?
Hello!
Is it possible to get stylistic options like
stylistic: {
indent: 'tab',
quotes: 'single',
semi: false,
braceStyle: '1tbs',
arrowParens: true,
},
Inside the eslint.config.mjs that uses withNuxt function? I dont want to add it to the nuxt.config.ts if possible
4 replies
500 error - entities/lib/decode.js does not provide export named 'default' at production build
Upgraded my project to newest version, and getthing this.
[nuxt] [request error] [unhandled] [500] The requested module 'entities/lib/decode.js' does not provide an export named 'default'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:171:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:254:5)
at async ModuleLoader.import (node:internal/modules/esm/loader:475:24)
at async ./.output/server/chunks/routes/renderer.mjs:141:24
at async ./.output/server/chunks/routes/renderer.mjs:244:64
at async Object.handler (./.output/server/chunks/routes/renderer.mjs:19:22)
at async Object.handler (./.output/server/chunks/runtime.mjs:2967:19)
at async Server.toNodeHandle (./.output/server/chunks/runtime.mjs:3233:7) No idea what it comes from. Anyone seen this before?
at async ModuleJob.run (node:internal/modules/esm/module_job:254:5)
at async ModuleLoader.import (node:internal/modules/esm/loader:475:24)
at async ./.output/server/chunks/routes/renderer.mjs:141:24
at async ./.output/server/chunks/routes/renderer.mjs:244:64
at async Object.handler (./.output/server/chunks/routes/renderer.mjs:19:22)
at async Object.handler (./.output/server/chunks/runtime.mjs:2967:19)
at async Server.toNodeHandle (./.output/server/chunks/runtime.mjs:3233:7) No idea what it comes from. Anyone seen this before?
2 replies