1.1.0 broke Dialog component
Dreaming-Codes opened this issue ยท 3 comments
Dreaming-Codes commented
Hi there,
I am having an issue with the Dialog component in version 1.1.0. When I try to import it in my pages/index.vue and build the project, I get the following error:
ERROR 'Dialog' is not exported by node_modules/.pnpm/nuxt@3.0.0_sass@1.57.1/node_modules/nuxt/dist/app/components/server-placeholder.mjs, imported by pages/index.vue?vue&type=script&setup=true&lang.ts 02:19:33
file: /home/dreamingcodes/Desktop/event-scheduler/pages/index.vue?vue&type=script&setup=true&lang.ts:9:9
7: import { default as __nuxt_component_6 } from "/home/dreamingcodes/Desktop/event-scheduler/node_modules/.pnpm/nuxt@3.0.0_sass@1.57.1/node_modules/nuxt/dist/app/components/client-only";
8: import { TransitionRoot as __nuxt_component_7 } from "/home/dreamingcodes/Desktop/event-scheduler/node_modules/.pnpm/@headlessui+vue@1.7.7/node_modules/@headlessui/vue/dist/components/transitions/transition.js";
9: import { Dialog as __nuxt_component_8 } from "/home/dreamingcodes/Desktop/event-scheduler/node_modules/.pnpm/nuxt@3.0.0_sass@1.57.1/node_modules/nuxt/dist/app/components/server-placeholder";
^
10: import { TransitionChild as __nuxt_component_9 } from "/home/dreamingcodes/Desktop/event-scheduler/node_modules/.pnpm/@headlessui+vue@1.7.7/node_modules/@headlessui/vue/dist/components/transitions/transition.js";
11: import { DialogPanel as __nuxt_component_10 } from "/home/dreamingcodes/Desktop/event-scheduler/node_modules/.pnpm/nuxt@3.0.0_sass@1.57.1/node_modules/nuxt/dist/app/components/server-placeholder";
ERROR 'Dialog' is not exported by node_modules/.pnpm/nuxt@3.0.0_sass@1.57.1/node_modules/nuxt/dist/app/components/server-placeholder.mjs, imported by pages/index.vue?vue&type=script&setup=true&lang.ts 02:19:33
at error (node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:1858:30)
at Module.error (node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:12429:16)
at Module.traceVariable (node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:12788:29)
at ModuleScope.findVariable (node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:11440:39)
at FunctionScope.findVariable (node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:6372:38)
at ChildScope.findVariable (node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:6372:38)
at ReturnValueScope.findVariable (node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:6372:38)
at ChildScope.findVariable (node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:6372:38)
at Identifier.bind (node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:7439:40)
at VariableDeclarator.bind (node_modules/.pnpm/rollup@2.79.1/node_modules/rollup/dist/es/shared/rollup.js:5269:23)
My project deps:
"devDependencies": {
"@morev/vue-transitions": "^2.3.5",
"@nuxt/image-edge": "1.0.0-27840416.dc1ed65",
"@nuxtjs/color-mode": "^3.2.0",
"@nuxtjs/robots": "^3.0.0",
"@nuxtjs/tailwindcss": "^6.2.0",
"@prisma/client": "^4.8.1",
"@sidebase/nuxt-auth": "^0.3.3",
"@types/animejs": "^3.1.6",
"animejs": "^3.2.1",
"nuxt": "3.0.0",
"nuxt-headlessui": "^1.1.0",
"prisma": "^4.8.1",
"sass": "^1.57.1"
}
This error did not occur in previous versions.
P4sca1 commented
Does it work in development mode but only fail during build?
Dreaming-Codes commented
Does it work in development mode but only fail during build?
Exactly
P4sca1 commented
๐ This issue has been resolved in version 1.1.1 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐