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
web-bluetooth dependency should be transitive #1704
Comments
Seems it's not solved via
|
Can confirm this: We still have the same problem even after upgrading to 8.7.5+ (using vue 2.6.14 and @vue/composition-api 1.4.3). We get the same error from the d.ts files as reported above #1704 (comment). |
The upgrade to 8.7.5 is still unresolved |
Also still seeing this when using "vue-tsc --noEmit" |
Any updates on this? In "@vueuse/core": "^9.1.0" I still see the error. I was able to mitigate it by installing "@types/web-bluetooth" and adding "web-bluetooth" to "compilerOptions.types" in tsconfig.json, but it is a bit annoying to have this kind of workaround, since most users very likely are not using bluetooth features of the lib at all. Maybe this could become a separate package? |
FYI: We updated to @vueuse/core 9.0.0 (using vue 2.6.14 and @vue/composition-api 1.7.0, still using vue-cli to build) and the error is gone without any extra adjustmenst. |
Thanks @MrCube42 for the feedback. I still saw the issues with the latest versions of all packages (on macOS, package manager
|
Also have this issue in 9.1.0. Workaround;
I do not need any bluetooth related features, and had to add |
- 🏷️ Add @types/web-bluetooth See vueuse/vueuse#1704 - 🔧 Set transpile target to `esnext` See vitejs/vite#6985
- 🏷️ Add @types/web-bluetooth See vueuse/vueuse#1704 - 🔧 Set transpile target to `esnext` See vitejs/vite#6985
- 🏷️ Add @types/web-bluetooth See vueuse/vueuse#1704 - 🔧 Set transpile target to `esnext` See vitejs/vite#6985
Also encounter this, my workaround:
|
Still see this with version 10.1.2. One more thing to add to my previous comment:
|
The problem is still there with 10.7.2
|
Got it, the problem was in my tsconfig files. Still, don't do "that" (#1704 (comment) !) |
Describe the bug
Without
"@types/web-bluetooth": "0.0.14",
in mydevDependencies
the build fails with:Project uses TypeScript.
System Info
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: