You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the following compilation error when running npm run build in a fresh Vue app:
src/App.vue:21:26 - error TS7016: Could not find a declaration file for module '@vueuse/sound'. 'C:/[...redacted...]/node_modules/@vueuse/sound/dist/index.mjs' implicitly has an 'any' type.
There are types at 'C:/[...redacted...]/node_modules/@vueuse/sound/dist/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@vueuse/sound' library may need to update its package.json or typings.
21 import { useSound } from '@vueuse/sound';
~~~~~~~~~~~~~~~
Found 1 error in src/App.vue:21
ERROR: "type-check" exited with 2.
The error goes away if I manually delete the exports key in package.json:
I have the following compilation error when running
npm run build
in a fresh Vue app:The error goes away if I manually delete the
exports
key inpackage.json
:Do you have any clue to solve it?
The text was updated successfully, but these errors were encountered: