vueuse: Build errors with vue-tsc --noEmit && vite build
`> Executing task: npm run build <
@0.0.0 build A:\Test\comic-pc vue-tsc --noEmit && vite build
node_modules/@vueuse/shared/index.d.ts:35:5 - error TS1131: Property or signature expected.
35 get value(): T; ~~~
node_modules/@vueuse/shared/index.d.ts:35:9 - error TS1005: ‘;’ expected.
35 get value(): T; ~~~~~
node_modules/@vueuse/shared/index.d.ts:35:16 - error TS1005: ‘;’ expected.
35 get value(): T; ~
node_modules/@vueuse/shared/index.d.ts:36:9 - error TS1005: ‘;’ expected.
36 set value(value: T | null | undefined); ~~~~~
node_modules/@vueuse/shared/index.d.ts:36:20 - error TS1005: ‘,’ expected.
36 set value(value: T | null | undefined); ~
node_modules/@vueuse/shared/index.d.ts:37:1 - error TS1128: Declaration or statement expected.
37 }; ~
Found 6 errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @0.0.0 build: vue-tsc --noEmit && vite build
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @0.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.`
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 4
- Comments: 19 (2 by maintainers)
We temporarily close this due to the lack of enough information. Please provide a minimal reproduction to reopen the issue. Thanks.
the same
Hi @antfu @huoyou and everyone , after this update in my project everything works well
Left - https://github.com/vueuse/vueuse/issues/1097#issuecomment-1150149776 Right - Actual package.json