question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build errors with vue-tsc --noEmit && vite build

See original GitHub issue

`> 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.`

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:19 (2 by maintainers)

github_iconTop GitHub Comments

7reactions
antfucommented, Mar 3, 2022

We temporarily close this due to the lack of enough information. Please provide a minimal reproduction to reopen the issue. Thanks.

6reactions
xy406043commented, Jan 12, 2022

the same

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does Vue.js3 `npm run build` give a bunch of errors
Tl;DR. Running build command as vue-tsc --noEmit && vite build throws a bunch of errors that aren't present during dev compiles.
Read more >
Vite Build fails because of test TypeScript error - #5 by rrd
My build fails because of typescript errors in a test ... vue-tsc --noEmit is not vite , it's an extra step that explicitly...
Read more >
vue-tsc | Yarn - Package Manager
vue -tsc. Install: npm i vue-tsc -D. Usage: vue-tsc --noEmit && vite build. Vue 3 command line Type-Checking tool base on IDE plugin...
Read more >
Building a Vue3 Typescript Environment with Vite - miyauci.me
Things to do · Typescript · ESLint · Prettier · Stylelint · husky and lint-staged · Path Alias · vue-tsc ...
Read more >
vue-tsc - npm
vue -tsc. Install: npm i vue-tsc -D. Usage: vue-tsc --noEmit && vite build. Vue 3 command line Type-Checking tool base on IDE plugin...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found