\n\n const googleMapsApiKey = process.env.NUXT_GOOGLE_MAPS_API_KEY;\n\n\nbut this doesnt work? When i use my api key directly in the file it works. But putting it in the .env i wont load the map? I thought placing your api key is not secure? Already asked chatgpt but no solution. \n\n\n\n### 🔍 What have you tried?\n\nI looked at the docs. Nothing about it. I tried chatgpt and different solutions nothing works. \n\n### ℹ️ Additional context\n\n_No response_",[1984],{"name":1985,"color":1986},"documentation","0075ca",313,"nuxt","scripts","open","Using the googlemaps api key?","2024-11-11T03:54:14Z","https://github.com/nuxt/scripts/issues/313",0.73539674,{"description":1996,"labels":1997,"number":2001,"owner":1988,"repository":2002,"state":1990,"title":2003,"updated_at":2004,"url":2005,"score":2006},"### Environment\n\n- Operating System: Linux\n- Node Version: v20.15.1\n- Nuxt Version: 3.14.1592\n- CLI Version: 3.15.0\n- Nitro Version: 2.10.4\n- Package Manager: yarn@1.22.22\n- Builder: -\n- User Config: -\n- Runtime Modules: -\n- Build Modules: -\n\n### Reproduction\n\nWhen using test-utils v3.14 the myComponent.nuxt.spec.ts test pass:\nhttps://stackblitz.com/edit/github-kucyss44?file=test%2FmyComponent.nuxt.spec.ts\nWhen using test-utils v3.15 the myComponent.nuxt.spec.ts test fails:\nhttps://stackblitz.com/edit/github-kucyss44-zywdn3sh?file=test%2FmyComponent.nuxt.spec.ts\n\n### Describe the bug\n\nWhen using nuxt test-utils in v3.15, I can no longer catch errors thrown in the tested component using the errorCaptured option of mountSuspended:\n\n```\nlet capturedError: string | null = null;\n\nconst component = await mountSuspended(MyComponent, {\n errorCaptured(err: unknown) {\n capturedError =\n typeof err === 'object' &&\n err !== null &&\n 'message' in err &&\n typeof err.message === 'string'\n ? err.message\n : '';\n return false;\n },\n});\n\nexpect(capturedError).toBe('This is an error');\n```\nIt does work when using test-utils in v3.14. Trying to find alternatives I've also noticed that trying to catch errors using errorHandler also stopped working: \n```\nconst component = await mountSuspended(MyComponent, {\n global: {\n config: {\n errorHandler(err: unknown) {\n // message displayed when using v3.14, not when using v3.15.\n console.log(\"error captured : \", err);\n },\n },\n }\n});\n```\nIt work when I replace `await mountSuspended` with `mount` from vue test-utils.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[1998],{"name":1999,"color":2000},"pending triage","5D08F5",1037,"test-utils","Component error handling in 3.15","2024-12-09T10:02:36Z","https://github.com/nuxt/test-utils/issues/1037",0.75615185,{"description":2008,"labels":2009,"number":2013,"owner":1988,"repository":1989,"state":1990,"title":2014,"updated_at":2015,"url":2016,"score":2017},"### 🐛 The bug\n\nThis module looks very promising thank you for that. For one of my small projects I wanted to use this, just followed the guidelines. Unfortunately, it got stuck on pnpm build on docker\n\nI can't reproduce it on Stackblitz since this is related to docker.\n\nHere is my dockerfile\n\n\n```docker\n# syntax=docker/dockerfile:1\n\nARG NODE_VERSION=20.18.1\nARG PORT=3000\n\nFROM node:${NODE_VERSION}-alpine AS node\n\nENV PORT=$PORT\n\nCOPY / /\n\nRUN npm install -g pm2@latest\n\nRUN npm install -g pnpm\n\nWORKDIR \"/\"\n\nRUN pnpm install\n\nRUN pnpm build\n\nEXPOSE 80\n\nWORKDIR \"/\"\n\nCMD pm2-runtime ecosystem.config.cjs\n``` \n\nIt got stuck on pnpm build and the latest things that stdout prints;\n\n```\n => [webapp 4/9] RUN npm install -g pm2@latest 4.1s\n => [webapp 5/9] RUN npm install -g pnpm 1.0s\n => [webapp 6/9] RUN pnpm install 31.7s \n => => # .../esbuild@0.23.1/node_modules/esbuild postinstall: Done \n => => # .../esbuild@0.21.5/node_modules/esbuild postinstall: Done \n => => # .../node_modules/vue-demi postinstall: Done \n => => # > rently-web-uae@ postinstall / \n => => # > nuxt prepare \n => => # [nuxt:tailwindcss] ℹ Using default Tailwind CSS file \n``` \n\n\n```\n- Operating System: `Darwin`\n- Node Version: `v20.18.1`\n- Nuxt Version: `3.14.1592`\n- CLI Version: `3.16.0`\n- Nitro Version: `-`\n- Package Manager: `pnpm@9.12.3`\n- Builder: `-`\n- User Config: `default`\n- Runtime Modules: `@nuxtjs/tailwindcss@^6.12.2`, `@nuxt/fonts@^0.10.2`, `@vueuse/nuxt@^12.0.0`, `@nuxt/scripts`\n- Build Modules: `-`\n```\n\n\n\n### 🛠️ To reproduce\n\nCan't do it\n\n### 🌈 Expected behavior\n\nComplete the build\n\n### ℹ️ Additional context\n\n_No response_",[2010],{"name":2011,"color":2012},"bug","d73a4a",328,"Stuck on docker","2025-03-07T17:37:16Z","https://github.com/nuxt/scripts/issues/328",0.76922005,{"description":2019,"labels":2020,"number":2021,"owner":1988,"repository":2002,"state":2022,"title":2023,"updated_at":2024,"url":2025,"score":2026},"in [module testing docs](https://test-utils.nuxtjs.org/api-reference/module-testing) page It only shows the following options:\r\n- `addPlugin`\r\n- `addLayout` \r\n- `addErrorLayout`\r\n- `addServerMiddleware` \r\n- `requireModule`\r\n\r\nBut the `addModule` option is not documented although it can be used!",[],387,"closed","Module testing page is missing the \"addModule\" option","2023-12-02T00:13:09Z","https://github.com/nuxt/test-utils/issues/387",0.45145807,{"description":2028,"labels":2029,"number":2033,"owner":1988,"repository":2034,"state":2022,"title":2035,"updated_at":2036,"url":2037,"score":2038},"",[2030],{"name":2031,"color":2032},"enhancement","1ad6ff",545,"nuxt.com","[Resources] Blog extract slug page to a component `ResourcesBlogPostLayout`","2023-02-15T12:32:30Z","https://github.com/nuxt/nuxt.com/issues/545",0.6395913,{"description":2040,"labels":2041,"number":2033,"owner":1988,"repository":2002,"state":2022,"title":2045,"updated_at":2046,"url":2047,"score":2038},"Hey 👋 \r\n\r\nI would love to see `@testing-library/vue` support be added. E.g. a `renderSuspended` utility or something like this, which would use `render` from testing library instead of `mount` from VTU.\r\n\r\nI've tinkered with creating this and it seems to be a case of mostly adding an extra root element to the existing code of `mountSuspended` to make this work.",[2042],{"name":2043,"color":2044},"vitest-environment","b60205","Support rendering with Testing Library","2023-12-02T00:17:10Z","https://github.com/nuxt/test-utils/issues/545",{"description":2028,"labels":2049,"number":1987,"owner":1988,"repository":2034,"state":2022,"title":2051,"updated_at":2052,"url":2053,"score":1994},[2050],{"name":2031,"color":2032},"Refactor blog index with markdown only","2023-02-15T12:30:44Z","https://github.com/nuxt/nuxt.com/issues/313",{"description":2028,"labels":2055,"number":2059,"owner":1988,"repository":2034,"state":2022,"title":2060,"updated_at":2061,"url":2062,"score":2063},[2056],{"name":2057,"color":2058},"marketing","f5c828",649,"[Resources] Fill `Showcases` page description","2022-11-17T11:47:56Z","https://github.com/nuxt/nuxt.com/issues/649",0.7499222,{"description":2065,"labels":2066,"number":2059,"owner":1988,"repository":2002,"state":2022,"title":2069,"updated_at":2070,"url":2071,"score":2063},"- [ ] waitForHydration\r\n ```ts\r\n await page.waitForFunction(() => window.useNuxtApp?.().isHydrating === false)\r\n ```\r\n- [ ] waitForNavigation\r\n ```ts\r\n await page.waitForFunction(() => window.useNuxtApp?.()._route.fullPath === '/islands')\r\n ```",[2067],{"name":2031,"color":2068},"a2eeef","browser testing assertions","2024-03-06T14:09:09Z","https://github.com/nuxt/test-utils/issues/649",{"labels":2073,"number":2079,"owner":1988,"repository":1988,"state":2022,"title":2080,"updated_at":2081,"url":2082,"score":2083},[2074,2076],{"name":2031,"color":2075},"8DEF37",{"name":2077,"color":2078},"3.x","29bc7f",12841,"Add hooks to extend routes","2023-01-19T16:37:27Z","https://github.com/nuxt/nuxt/issues/12841",0.7507932,["Reactive",2085],{},["Set"],["ShallowReactive",2088],{"TRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"ZxzwQTBG1M0L5qzpiSCTbMn2kb1kHYxU5vCXHTeDubI":-1},"/nuxt/nuxt.com/387"]