Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unresolvable type reference or unsupported built-in utility type #21

Closed
5 tasks done
domzo63 opened this issue Jul 16, 2023 · 2 comments · Fixed by #22
Closed
5 tasks done

Unresolvable type reference or unsupported built-in utility type #21

domzo63 opened this issue Jul 16, 2023 · 2 comments · Fixed by #22
Assignees
Labels
bug Something isn't working

Comments

@domzo63
Copy link

domzo63 commented Jul 16, 2023

Describe the bug

I have updated my @tresjs/cientos dependency from 2.2.0 to 2.3.0 as I wanted to play around with the new ScrollControls from the cientos package. But when I started my development server, I got this error:
Error Screenshot

[@vue/compiler-sfc] Unresolvable type reference or unsupported built-in utility type

/node_modules/.pnpm/@tresjs+nuxt@1.0.0_vue@3.3.4/node_modules/@tresjs/nuxt/dist/runtime/components/TresCanvas.vue
import { ref } from 'vue'
import { TresCanvas as TC, TresCanvasProps } from '@tresjs/core';
defineProps()
^^^^^^^^^^^^^^^

const stateRef = ref()

I have tried to fall back to the 2.2.0 version, and the same error appears. I have also tried deleting the lock file and the node_modules folder, and then reinstalling all the dependencies, but the error still persists.

Reproduction

https://stackblitz.com/edit/nuxt-starter-zryr5s?file=app.vue,package.json,nuxt.config.ts

Steps to reproduce

Run npm run dev

System Info

No response

Used Package Manager

npm

Code of Conduct

@alvarosabu alvarosabu self-assigned this Jul 17, 2023
@alvarosabu alvarosabu added the bug Something isn't working label Jul 17, 2023
@alvarosabu
Copy link
Member

@DomagojFrontend thanks for raising this, I will take a look and come back

@alvarosabu
Copy link
Member

@DomagojFrontend should be fixed for v1.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants