\r\n \u003C/div>\r\n\u003C/template>\r\n\r\n\u003Cscript setup>\r\nimport { lab } from 'd3-color'\r\nimport { differenceCiede2000 } from 'd3-color-difference'\r\n\r\nconsole.log(lab, differenceCiede2000)\r\n\u003C/script>\r\n```\r\n\r\n\n\n### Describe the bug\n\n> [nuxt] [request error] [unhandled] [500] require() of ES Module C:\\Users\\zumm\\new-projects\\mr\\.output\\server\\node_modules\\d3-color\\src\\index.js from C:\\Users\\zumm\\new-projects\\mr\\.output\\server\\node_modules\\d3-color-difference\\build\\d3-color-difference.js not supported.\r\n> Instead change the require of index.js in C:\\Users\\zumm\\new-projects\\mr\\.output\\server\\node_modules\\d3-color-difference\\build\\d3-color-difference.js to a dynamic import() which is available in all CommonJS modules.\r\n> at C:\\Users\\zumm\\new-projects\\mr\\.output\\server\\node_modules\\d3-color-difference\\build\\d3-color-difference.js:3:82\r\n> at Object.\u003Canonymous> (C:\\Users\\zumm\\new-projects\\mr\\.output\\server\\node_modules\\d3-color-difference\\build\\d3-color-difference.js:6:2)\r\n> at async Promise.all (index 0)\r\n> at async /C:/Users/zumm/new-projects/mr/.output/server/chunks/renderer.mjs:305:24\r\n> at async /C:/Users/zumm/new-projects/mr/.output/server/chunks/renderer.mjs:372:64\r\n> at async /C:/Users/zumm/new-projects/mr/.output/server/chunks/renderer.mjs:29:22\r\n> at async Object.handler (/C:/Users/zumm/new-projects/mr/.output/server/node_modules/h3/dist/index.mjs:634:19)\r\n> at async Server.toNodeHandle (/C:/Users/zumm/new-projects/mr/.output/server/node_modules/h3/dist/index.mjs:698:7)\r\n> \r\n\r\nI faced this bug while migrating my nuxt project from rc3 to rc13. There is no bug on rc3.\n\n### Additional context\n\nAdding these lines in config resolves issue:\r\n\r\n```js\r\nexport default defineNuxtConfig({\r\n nitro: {\r\n alias: {\r\n 'd3-color-difference': 'd3-color-difference/index.js'\r\n }\r\n }\r\n})\r\n```\n\n### Logs\n\n_No response_",[3087,3088],{"name":3042,"color":3043},{"name":3021,"color":3022},15405,"Import error in newest version","2023-01-19T17:49:45Z","https://github.com/nuxt/nuxt/issues/15405",0.6289168,{"description":3095,"labels":3096,"number":3100,"owner":3024,"repository":3024,"state":3046,"title":3101,"updated_at":3102,"url":3103,"score":3104},"### Environment\n\nNuxi 3.2.3 \r\n \r\nRootDir: /usr/src/app/packages/app \r\nNuxt project info: \r\n\r\n------------------------------\r\n- Operating System: `Linux`\r\n- Node Version: `v18.14.1`\r\n- Nuxt Version: `3.2.3`\r\n- Nitro Version: `2.2.3`\r\n- Package Manager: `npm@9.5.0`\r\n- Builder: `vite`\r\n- User Config: `build`, `googleFonts`, `experimental`, `i18n`, `modules`, `runtimeConfig`, `typescript`, `vite`, `vue`\r\n- Runtime Modules: `@nuxtjs/google-fonts@3.0.0-1`, `@nuxtjs/i18n@8.0.0-beta.9-27948515.3db6367`, `@pinia/nuxt@0.4.7`\r\n- Build Modules: `-`\r\n------------------------------\r\n\n\n### Reproduction\n\nI don't know how to reproduce this since I don't know the source error of this issue :( At this point we don't know how to debug anything about this issue.\n\n### Describe the bug\n\nWe are facing a lot of this issue : \r\n\r\nSorry for obfuscating some informations, it's about a DNS that is for our client that want to stay anonymous.\r\n\r\n\r\nI don't know where to start in order to fix this issue.\r\nTo give some more informations, when we load the home there is more than 1000 requests done when loading the page : \r\n\r\n\r\n\r\nI'm not sure if there is some limitations arounds requests / seconds on the vite server that serve files?\r\n\r\nIt can happens 10 times / minutes. Sometimes loading the page works, sometimes it does not. \r\n\r\nAny ideas on how to at least debug this ?\n\n### Additional context\n\nWe setup our files outside the components folder, don't know if it has an impact in the bundling? \r\n\r\nWe built the project with the domain driven approach, in which a folder contains all the files containing a part of the projet\r\nExample : all the things related to the payment (store, components, hooks...) are in a specific folder, not splitted in differents folders following nuxt file system\r\n\r\n\r\n\r\nIn the components folder, it's about our design system components that are used inside the domains folders\n\n### Logs\n\n```shell-script\nNo log relevant at this point\n```\n",[3097,3098,3099],{"name":3042,"color":3043},{"name":3021,"color":3022},{"name":3074,"color":3075},19393,"Failed to import dynamic modules","2023-07-21T08:31:54Z","https://github.com/nuxt/nuxt/issues/19393",0.6297425,{"labels":3106,"number":3109,"owner":3024,"repository":3024,"state":3046,"title":3110,"updated_at":3111,"url":3112,"score":3113},[3107,3108],{"name":3042,"color":3043},{"name":3021,"color":3022},13624,"Rollup failed to resolve import \"#_config\" from “paths.mjs”","2023-01-19T17:02:42Z","https://github.com/nuxt/nuxt/issues/13624",0.6317154,{"description":3115,"labels":3116,"number":3119,"owner":3024,"repository":3024,"state":3046,"title":3120,"updated_at":3121,"url":3122,"score":3123},"### Environment\n\n- Operating System: `Darwin`\r\n- Node Version: `v16.17.0`\r\n- Nuxt Version: `3.6.5`\r\n- Nitro Version: `2.5.2`\r\n- Package Manager: `npm@9.8.1`\r\n- Builder: `vite`\r\n- User Config: `telemetry`, `app`, `css`, `modules`, `build`, `vite`, `typescript`, `postcss`, `runtimeConfig`, `googleFonts`\r\n- Runtime Modules: `@nuxtjs/tailwindcss@6.8.0`, `@nuxtjs/google-fonts@3.0.2`, `@formkit/nuxt@0.17.5`\r\n- Build Modules: `-`\r\n\n\n### Reproduction\n\nDifficult to provide a way to reproduce it since my repo is private (sorry), but here is the package.json:\r\n```\r\n{\r\n \"private\": true,\r\n \"scripts\": {\r\n \"build\": \"nuxt build\",\r\n \"dev\": \"nuxt dev\",\r\n \"generate\": \"nuxt generate\",\r\n \"preview\": \"nuxt preview\",\r\n \"postinstall\": \"nuxt prepare\"\r\n },\r\n \"devDependencies\": {\r\n \"@nuxtjs/google-fonts\": \"^3.0.2\",\r\n \"@nuxtjs/tailwindcss\": \"^6.8.0\",\r\n \"autoprefixer\": \"^10.4.13\",\r\n \"nuxt\": \"^3.5.1\",\r\n \"postcss\": \"^8.4.21\",\r\n \"tailwindcss\": \"^3.3.3\",\r\n \"vue-gtag-next\": \"^1.14.0\"\r\n },\r\n \"dependencies\": {\r\n \"@bugsnag/js\": \"^7.20.0\",\r\n \"@formkit/nuxt\": \"^0.17.5\",\r\n \"@fortawesome/fontawesome-pro\": \"^6.4.2\",\r\n \"@fortawesome/fontawesome-svg-core\": \"^6.4.2\",\r\n \"@fortawesome/pro-light-svg-icons\": \"^6.4.2\",\r\n \"@fortawesome/pro-regular-svg-icons\": \"^6.4.2\",\r\n \"@fortawesome/pro-solid-svg-icons\": \"^6.4.2\",\r\n \"@fortawesome/vue-fontawesome\": \"^3.0.3\",\r\n \"@headlessui/vue\": \"^1.7.15\",\r\n \"@hotjar/browser\": \"^1.0.9\",\r\n \"@mailchimp/mailchimp_marketing\": \"^3.0.80\",\r\n \"@openreplay/tracker\": \"^9.0.0\",\r\n \"contentful\": \"^10.4.0\",\r\n \"mixpanel-browser\": \"^2.46.0\",\r\n \"preline\": \"^1.9.0\"\r\n }\r\n}\r\n```\r\n\r\nAs well as the nuxt config:\r\n```\r\n// https://nuxt.com/docs/api/configuration/nuxt-config\r\nexport default defineNuxtConfig({\r\n app: {\r\n head: {\r\n script: [\r\n {\r\n src: \"/preline/preline.js\",\r\n body: true,\r\n defer: true,\r\n crossorigin: \"anonymous\",\r\n \"data-cfasync\": false,\r\n },\r\n {\r\n type: \"text/javascript\",\r\n innerHTML: `\r\n window.$crisp = []; window.CRISP_WEBSITE_ID =\r\n \"...\"; (function () { d = document; s =\r\n d.createElement(\"script\"); s.src = \"https://client.crisp.chat/l.js\";\r\n s.async = 1; d.getElementsByTagName(\"head\")[0].appendChild(s); })();\r\n `,\r\n }, // crips website id obfuscated for the github issue\r\n ],\r\n },\r\n },\r\n css: [\r\n \"~/assets/css/main.css\",\r\n \"@fortawesome/fontawesome-svg-core/styles.css\",\r\n ],\r\n modules: [\"@nuxtjs/tailwindcss\", \"@nuxtjs/google-fonts\", \"@formkit/nuxt\"],\r\n build: {\r\n transpile: [\"@fortawesome/vue-fontawesome\"],\r\n },\r\n vite: {\r\n build: {\r\n rollupOptions: {\r\n output: {\r\n chunkFileNames: \"_nuxt/[hash].js\", // can be .mjs or .js\r\n assetFileNames: \"_nuxt/[hash][extname]\",\r\n },\r\n },\r\n },\r\n },\r\n typescript: {\r\n tsConfig: {\r\n compilerOptions: {\r\n moduleResolution: \"bundler\",\r\n },\r\n },\r\n },\r\n postcss: {\r\n plugins: {\r\n tailwindcss: {},\r\n autoprefixer: {},\r\n },\r\n },\r\n runtimeConfig: {\r\n mailchimpApiKey: \"\",\r\n mailchimpServer: \"\",\r\n mailchimpAudienceId: \"\",\r\n public: {\r\n gtagId: \"\",\r\n mixpanelToken: \"\",\r\n ctfSpaceId: \"\",\r\n ctfCdaAccessToken: \"\",\r\n bugsnagApiKey: \"\",\r\n openreplayProjectKey: \"\",\r\n },\r\n },\r\n googleFonts: {\r\n display: \"swap\",\r\n download: process.env.NODE_ENV === \"production\",\r\n overwriting: false,\r\n stylePath: \"css/fonts.css\",\r\n families: {\r\n Inter: [100, 200, 300, 400, 500, 600, 700, 800, 900],\r\n \"Noto+Sans+KR\": [100, 300, 400, 500, 700, 900],\r\n },\r\n },\r\n});\r\n```\n\n### Describe the bug\n\nRunning the command `nuxt build` break at Nitro step with an unclear error `undefined`.\r\nI had no issue from my previous Nuxt version 3.5.3.\r\n\r\nIs there a way to get a more clear error backtrace, or is anyone already had this issue after upgrading?\r\n\r\nThank you!\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n9:25:10 AM: [info] .nuxt/dist/server/_nuxt/f947eaf0.js 467.79 kB │ map: 0.09 kB\r\n9:25:10 AM: [info] ✓ built in 3.97s\r\n9:25:10 AM: [success] Server built in 3988ms\r\n9:25:10 AM: [success] [nitro] Generated public dist\r\n9:25:10 AM: [nitro] Nitro now uses `isr` option to configure ISR behavior on Netlify. Backwards-compatible support for `static` and `swr` support with Builder Functions will be removed in the future versions. Set `future.nativeSWR: true` nitro config disable this warning.\r\n9:25:10 AM: [info] [nitro] Building Nitro Server (preset: `netlify`)\r\n9:25:19 AM: [error] [nitro] RangeError: Maximum call stack size exceeded\r\n9:25:19 AM: undefined\r\n9:25:19 AM: [error] Maximum call stack size exceeded\r\n9:25:19 AM: at BinaryExpression.parseNode (node_modules/rollup/dist/es/shared/node-entry.js:5914:14)\r\n9:25:19 AM: at new NodeBase (node_modules/rollup/dist/es/shared/node-entry.js:5831:14)\r\n9:25:19 AM: at new BinaryExpression (node_modules/rollup/dist/es/shared/node-entry.js:9294:1)\r\n9:25:19 AM: at BinaryExpression.parseNode (node_modules/rollup/dist/es/shared/node-entry.js:5945:29)\r\n9:25:19 AM: at new NodeBase (node_modules/rollup/dist/es/shared/node-entry.js:5831:14)\r\n9:25:19 AM: at new BinaryExpression (node_modules/rollup/dist/es/shared/node-entry.js:9294:1)\r\n9:25:19 AM: at BinaryExpression.parseNode (node_modules/rollup/dist/es/shared/node-entry.js:5945:29)\r\n9:25:19 AM: at new NodeBase (node_modules/rollup/dist/es/shared/node-entry.js:5831:14)\r\n9:25:19 AM: at new BinaryExpression (node_modules/rollup/dist/es/shared/node-entry.js:9294:1)\r\n9:25:19 AM: at BinaryExpression.parseNode (node_modules/rollup/dist/es/shared/node-entry.js:5945:29)\r\n```\n```\n",[3117,3118],{"name":3042,"color":3043},{"name":3021,"color":3022},22452,"[Nuxt 3.6.5] `nuxt build`, fail at Nitro step for \"undefined\"","2023-09-12T10:17:25Z","https://github.com/nuxt/nuxt/issues/22452",0.63221234,["Reactive",3125],{},["Set"],["ShallowReactive",3128],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fUYI8pOCTWx0HJcuCzwEd_fOahOY8aiKiOtGiWaCC280":-1},"/nuxt/nuxt/14858"]