\r\n \u003CSectionB :data=\"getSectionData('prices')\" />\r\n \u003C/div>\r\n\u003C/template>\r\n\r\n\u003Cscript setup>\r\nconst brand = useBrand();\r\n\r\nconst { data, error } = await useFetch(\"/api/v1/repair\", {\r\n params: { brand },\r\n});\r\n\r\nconst getSectionData = (sectionId) => {\r\n return data.value.data.blocks.find((block) => block.id === sectionId);\r\n};\r\n\u003C/script>\r\n```\r\n\r\nserver/api/v1/repair/index.get.js\r\n```js\r\nimport hero from \"@/data/hero.json\";\r\nimport prices from \"@/data/prices.json\";\r\n\r\nexport default defineEventHandler(async (event) => {\r\n const { brand } = getQuery(event);\r\n\r\n /* ... use brand ... */\r\n\r\n return {\r\n data: {\r\n blocks: [\r\n {\r\n id: \"hero\",\r\n title: hero.title,\r\n data: hero.data,\r\n },\r\n {\r\n id: \"prices\",\r\n title: prices.title,\r\n data: prices.data,\r\n },\r\n ],\r\n },\r\n };\r\n});\r\n```\n\n### Describe the bug\n\nAfter update page i get error and strange behavior of data - caching. After refresh page i get old data. Helps - restarting the project, but the error with extracting data remains.\n\n### Additional context\n\n```js\r\nruntime-core.esm-bundler.js:40 [Vue warn]: Unhandled error during execution of render function \r\n at \u003CIndex onVnodeUnmounted=fn\u003ConVnodeUnmounted> ref=Ref\u003C undefined > > \r\n at \u003CRouteProvider key=\"/tesla/repair/\" routeProps= {Component: {…}, route: {…}} pageKey=\"/tesla/repair/\" ... > \r\n at \u003CFragmentWrapper > \r\n at \u003CRouterView name=undefined route=undefined > \r\n at \u003CNuxtPage> \r\n at \u003CApp key=2 > \r\n at \u003CNuxtRoot>\r\n\r\nUncaught (in promise) TypeError: Cannot read properties of null (reading 'data')\r\n at Proxy.getSectionData (index.vue:89:1)\r\n at Proxy._sfc_render (index.vue:96:1)\r\n at renderComponentRoot (runtime-core.esm-bundler.js:914:44)\r\n at hydrateSubTree (runtime-core.esm-bundler.js:5621:44)\r\n at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js:5642:25)\r\n at ReactiveEffect.run (reactivity.esm-bundler.js:190:25)\r\n at instance.update (runtime-core.esm-bundler.js:5763:56)\r\n at setupRenderEffect (runtime-core.esm-bundler.js:5777:9)\r\n at runtime-core.esm-bundler.js:1506:17\r\n```\n\n### Logs\n\n_No response_",[3171,3172,3173,3176],{"name":3153,"color":3154},{"name":3140,"color":3141},{"name":3174,"color":3175},"windows","C681FD",{"name":3157,"color":3158},19030,"Cannot read properties of null (reading 'data')","2024-03-12T07:00:40Z","https://github.com/nuxt/nuxt/issues/19030",0.6870973,{"description":3183,"labels":3184,"number":3188,"owner":3143,"repository":3143,"state":3163,"title":3189,"updated_at":3190,"url":3191,"score":3192},"### Environment\r\n\r\n------------------------------\r\n- Operating System: Darwin\r\n- Node Version: v18.17.0\r\n- Nuxt Version: 3.8.2\r\n- CLI Version: 3.10.0\r\n- Nitro Version: 2.8.0\r\n- Package Manager: pnpm@8.10.0\r\n- Builder: -\r\n- User Config: ssr, build, sourcemap, debug, devServer, alias, modules, app, typescript, components, imports, vite\r\n- Runtime Modules: @pinia/nuxt@0.4.11\r\n- Build Modules: -\r\n------------------------------\r\n\r\n### Reproduction\r\n\r\n```ts\r\n// parent component\r\nfunction renderComponent(container:HTMLElement, configs) {\r\n const { vueComponent, app } = configs\r\n const el = container || createElement()\r\n if(!el) {\r\n throw new Error('[error render]: container is empty');\r\n }\r\n const vNode = createVNode(vueComponent)\r\n render(vNode, container);\r\n const vm = \u003CComponentInternalInstance>vNode.component\r\n return {\r\n instance: vm,\r\n reference: vm.exposed?.reference\r\n }\r\n}\r\n```\r\n\r\n\r\n\r\n```ts\r\n// subcomponent\r\n\u003Cscript lang=\"ts\" setup>\r\nonMounted(() => {\r\n const nuxtApp = useNuxtApp() // error: cannot read preperties of null (reading ‘$nuxt‘)\r\n // or\r\n const route = useRoute() // error: cannot read preperties of null (reading ‘$nuxt‘)\r\n})\r\n\u003C/script>\r\n```\r\n\r\n### Describe the bug\r\n\r\n> When I created a component through the createVNode method, Its appContext attribute is null in subComponent.\r\n\r\n\r\n\r\n### Additional context\r\n\r\n\r\n\r\n\r\n\r\n### Logs\r\n\r\n_No response_",[3185,3186,3187],{"name":3153,"color":3154},{"name":3140,"color":3141},{"name":3157,"color":3158},24663,"【usage】cannot read preperties of null (reading ‘$nuxt‘)","2023-12-15T11:14:54Z","https://github.com/nuxt/nuxt/issues/24663",0.6892924,{"description":3194,"labels":3195,"number":3197,"owner":3143,"repository":3143,"state":3163,"title":3198,"updated_at":3199,"url":3200,"score":3201},"### Environment\n\n- Operating System: `Darwin`\n- Node Version: `v22.13.1`\n- Nuxt Version: `3.14.1592`\n- CLI Version: `3.21.1`\n- Nitro Version: `2.9.7`\n- Package Manager: `yarn@1.22.22`\n- Builder: `-`\n- User Config: `-`\n- Runtime Modules: `-`\n- Build Modules: `-`\n\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-hgql2wsr?file=app.vue\n\n### Describe the bug\n\nWhen using `useAsncData` without `await`, the data can not be used during the setup. \nWhen you check the reproduction link, you'll see that the data is not available during the setup function during SSR. However, the page is server side rendered with the correct data. \n\nI'm not sure if the data should be available during the setup, but if not it's probably worth mentioning in the docs\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[3196],{"name":3140,"color":3141},31031,"`useAsyncData` data not available during SSR","2025-02-18T17:53:17Z","https://github.com/nuxt/nuxt/issues/31031",0.6906927,{"description":3203,"labels":3204,"number":3208,"owner":3143,"repository":3143,"state":3163,"title":3209,"updated_at":3210,"url":3211,"score":3212},"### Environment\r\n\r\n------------------------------\r\n- Operating System: `Windows_NT`\r\n- Node Version: `v14.19.3`\r\n- Nuxt Version: `3.0.0-rc.8`\r\n- Package Manager: `npm@6.14.17`\r\n- Builder: `vite`\r\n- User Config: `debug`, `meta`, `build`, `modules`, `proxy`, `vite`, `css`, `plugins`, `publicRuntimeConfig`, `components`, `experimental`, `ssr`\r\n- Runtime Modules: `@pinia/nuxt@0.3.1`, `nuxt-proxy@0.2.4`\r\n- Build Modules: `-`\r\n------------------------------\r\n\r\n👉 Report an issue: https://github.com/nuxt/framework/issues/new 08:30:03\r\n\r\n👉 Suggest an improvement: https://github.com/nuxt/framework/discussions/new\r\n\r\n👉 Read documentation: https://v3.nuxtjs.org\r\n\r\n### Reproduction\r\n\r\nI think it is specific to my local but here is my package.json for a reproduction purpose : \r\n\r\n###\r\n{\r\n \"private\": true,\r\n \"scripts\": {\r\n \"build\": \"nuxt build\",\r\n \"dev\": \"nuxt dev\",\r\n \"https\": \"nuxt dev --https true\",\r\n \"generate\": \"nuxt generate\",\r\n \"preview\": \"nuxt preview\",\r\n \"test\": \"vitest\",\r\n \"coverage\": \"vitest run --coverage\"\r\n },\r\n \"devDependencies\": {\r\n \"@types/chart.js\": \"^2.9.37\",\r\n \"@types/multer\": \"^1.4.7\",\r\n \"nuxt\": \"3.0.0-rc.8\",\r\n \"sass\": \"1.53.0\",\r\n \"unplugin-auto-import\": \"^0.11.1\",\r\n \"unplugin-vue-components\": \"^0.21.2\",\r\n \"vitest\": \"0.18.1\"\r\n },\r\n \"dependencies\": {\r\n \"@ant-design/icons-vue\": \"^6.1.0\",\r\n \"@googlemaps/js-api-loader\": \"^1.14.3\",\r\n \"@intlify/nuxt3\": \"^0.2.3\",\r\n \"@nuxt/ui-templates\": \"^0.3.2\",\r\n \"@nuxt/vite-builder\": \"^3.0.0-rc.8\",\r\n \"@pinia/nuxt\": \"^0.3.1\",\r\n \"@vuepic/vue-datepicker\": \"^3.5.2\",\r\n \"@vueup/vue-quill\": \"^1.0.0-beta.10\",\r\n \"animated-number-vue\": \"^1.0.0\",\r\n \"ant-design-vue\": \"^3.2.10\",\r\n \"axios\": \"^0.27.2\",\r\n \"bootstrap\": \"^4.4.1\",\r\n \"chart.js\": \"^3.9.1\",\r\n \"chartjs-adapter-date-fns\": \"^2.0.0\",\r\n \"chartjs-plugin-annotation\": \"^2.0.1\",\r\n \"chartjs-plugin-datalabels\": \"^2.1.0\",\r\n \"country-region-data\": \"^2.5.0\",\r\n \"croppie\": \"^2.6.5\",\r\n \"date-fns\": \"^2.29.1\",\r\n \"file-saver\": \"^2.0.5\",\r\n \"google-auth-library\": \"^8.6.0\",\r\n \"is-image\": \"^3.1.0\",\r\n \"jquery\": \"^3.6.1\",\r\n \"js-base64\": \"^3.7.2\",\r\n \"leaflet\": \"^1.9.1\",\r\n \"leaflet-gesture-handling\": \"^1.2.2\",\r\n \"leaflet.markercluster\": \"^1.5.3\",\r\n \"libphonenumber-js\": \"^1.10.8\",\r\n \"lodash\": \"^4.17.21\",\r\n \"nprogress\": \"^0.2.0\",\r\n \"numbro\": \"^2.3.6\",\r\n \"nuxt-proxy\": \"^0.2.4\",\r\n \"pinia\": \"^2.0.18\",\r\n \"qs\": \"^6.11.0\",\r\n \"query-string\": \"^7.1.1\",\r\n \"quill\": \"^1.3.7\",\r\n \"sortablejs\": \"^1.15.0\",\r\n \"vue-chart-3\": \"^3.1.8\",\r\n \"vue-chartjs\": \"^4.1.1\",\r\n \"vue-cropperjs\": \"^5.0.0\",\r\n \"vue-easy-lightbox\": \"^1.8.2\",\r\n \"vue-facebook-login-component-next\": \"^1.0.4\",\r\n \"vue-i18n\": \"^9.2.0\",\r\n \"vue-it-bigger\": \"^0.2.2\",\r\n \"vue-multiselect\": \"^3.0.0-alpha.2\",\r\n \"vue-range-component\": \"^1.0.3\",\r\n \"vue-simple-floating-labels\": \"^1.0.4\",\r\n \"vue-slide-toggle\": \"^1.1.1\",\r\n \"vue-slide-up-down\": \"^2.0.1\",\r\n \"vue3-dropzone\": \"^2.0.1\",\r\n \"vue3-google-login\": \"^2.0.12\",\r\n \"vue3-google-oauth2\": \"^1.0.6\",\r\n \"vue3-perfect-scrollbar\": \"^1.6.0\",\r\n \"vue3-quill\": \"^0.2.6\",\r\n \"vue3-slide-up-down\": \"^1.2.5\",\r\n \"vuedraggable\": \"^4.1.0\",\r\n \"workbox-window\": \"^6.5.3\",\r\n \"xlsx\": \"^0.18.5\",\r\n \"yup\": \"^0.32.11\"\r\n }\r\n}\r\n###\r\n\r\n### Describe the bug\r\n\r\nHi ,the bug appear when i run `'npm run dev` and nothing else.\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n###\r\n ERROR Cannot start nuxt: Cannot read property 'https' of undefined 09:29:42\r\n\r\n at buildClient (/C:/Users/Dilypse/Documents/maj/front-14-19-3/node_modules/@nuxt/vite-builder/dist/shared/vite-builder.3e79d8e0.mjs:287:41)\r\n at async bundle (/C:/Users/Dilypse/Documents/maj/front-14-19-3/node_modules/@nuxt/vite-builder/dist/shared/vite-builder.3e79d8e0.mjs:837:3)\r\n at async build (/C:/Users/Dilypse/Documents/maj/front-14-19-3/node_modules/nuxt/dist/index.mjs:1840:5)\r\n at async Promise.all (index 1)\r\n at async load (/C:/Users/Dilypse/Documents/maj/front-14-19-3/node_modules/nuxt/node_modules/nuxi/dist/chunks/dev.mjs:6770:9)\r\n at async Object.invoke (/C:/Users/Dilypse/Documents/maj/front-14-19-3/node_modules/nuxt/node_modules/nuxi/dist/chunks/dev.mjs:6813:5)\r\n at async _main (/C:/Users/Dilypse/Documents/maj/front-14-19-3/node_modules/nuxt/node_modules/nuxi/dist/cli.mjs:46:20)\r\n\r\n###",[3205,3206,3207],{"name":3153,"color":3154},{"name":3140,"color":3141},{"name":3157,"color":3158},15386," ERROR Cannot start nuxt: Cannot read property 'https' of undefined","2023-01-19T17:49:24Z","https://github.com/nuxt/nuxt/issues/15386",0.6909731,{"labels":3214,"number":3217,"owner":3143,"repository":3143,"state":3163,"title":3218,"updated_at":3219,"url":3220,"score":3221},[3215,3216],{"name":3153,"color":3154},{"name":3140,"color":3141},13766,"Cannot read properties of null (reading 'insertBefore')","2024-03-21T16:23:19Z","https://github.com/nuxt/nuxt/issues/13766",0.69124496,{"labels":3223,"number":3226,"owner":3143,"repository":3143,"state":3163,"title":3227,"updated_at":3228,"url":3229,"score":3230},[3224,3225],{"name":3153,"color":3154},{"name":3140,"color":3141},13438,"Nuxt 3 one tier setup breaks after version 3.0.0-27375411.b38e394","2023-01-19T16:56:15Z","https://github.com/nuxt/nuxt/issues/13438",0.6917766,{"labels":3232,"number":3233,"owner":3143,"repository":3143,"state":3163,"title":3234,"updated_at":3235,"url":3236,"score":3237},[],12927,"Script data attributes aren't passed through","2023-01-19T16:38:28Z","https://github.com/nuxt/nuxt/issues/12927",0.6921206,{"labels":3239,"number":3240,"owner":3143,"repository":3143,"state":3163,"title":3234,"updated_at":3241,"url":3242,"score":3237},[],12954,"2023-01-19T16:39:56Z","https://github.com/nuxt/nuxt/issues/12954",["Reactive",3244],{},["Set"],["ShallowReactive",3247],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f2or03y5kYtAHeVqDIK4LPGY0D8sG0V1m4WGeetxqEdo":-1},"/nuxt/nuxt/12446"]