-
-
Notifications
You must be signed in to change notification settings - Fork 484
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
I want to running volar in my local envirenment, when i run
cd extensions/vscode-vue-languare-feature/
npm intall
npm run watch
but occured a lot of errors like:
➜ volar-master npm run watch
packages/vue-code-gen/src/transform.ts:1:39 - error TS2307: Cannot find module '@vue/shared' or its corresponding type declarations.
1 import { isGloballyWhitelisted } from '@vue/shared';
~~~~~~~~~~~~~
packages/vue-code-gen/src/transform.ts:2:26 - error TS2307: Cannot find module 'typescript/lib/tsserverlibrary' or its corresponding type declarations.
2 import type * as ts from 'typescript/lib/tsserverlibrary';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
....................................
211 // @ts-expect-error
~~~~~~~~~~~~~~~~~~~
packages/typescript-language-service/src/services/codeAction.ts:233:5 - error TS2578: Unused '@ts-expect-error' directive.
233 // @ts-expect-error
~~~~~~~~~~~~~~~~~~~
packages/typescript-language-service/src/services/codeActionResolve.ts:15:3 - error TS2578: Unused '@ts-expect-error' directive.
15 // @ts-expect-error
~~~~~~~~~~~~~~~~~~~
Found 104 errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ build: `tsc -b tsconfig.build.json`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/sss/.npm/_logs/2022-05-25T11_50_34_849Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ watch: `npm run build && (npm run watch:base & npm run watch:vue-language-features & npm run watch:typescript-vue-plugin)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ watch script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/sss/.npm/_logs/2022-05-25T11_50_34_891Z-debug.log
How to solve it please?
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested