sthenic / vls-vscode Goto Github PK
View Code? Open in Web Editor NEWA Verilog IEEE 1364-2005 language server client for Visual Studio Code.
License: MIT License
A Verilog IEEE 1364-2005 language server client for Visual Studio Code.
License: MIT License
Running npm run compile
on Windows 10 gives this error:
C:\Users\{my_name}\Downloads\vls-vscode-master\vls-vscode-master>npm run compile
> [email protected] compile C:\Users\{my_name}\Downloads\vls-vscode-master\vls-vscode-master
> tsc -b
src/extension.ts:1:45 - error TS2307: Cannot find module 'vscode' or its corresponding type declarations.
1 import { workspace, ExtensionContext } from "vscode";
~~~~~~~~~~~~~
src/extension.ts:7:8 - error TS2307: Cannot find module 'vscode-languageclient' or its corresponding type declarations.
7 } from "vscode-languageclient";
~~~~~~~~~~~~~~~~~~~~~~~
src/extension.ts:36:31 - error TS2304: Cannot find name 'Thenable'.
36 export function deactivate(): Thenable<void> | undefined {
~~~~~~~~
Found 3 errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] compile: `tsc -b`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] compile script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\{my_name}\AppData\Roaming\npm-cache\_logs\2021-09-08T09_23_07_614Z-debug.log
Debug log shows this:
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'compile'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'precompile', 'compile', 'postcompile' ]
5 info lifecycle [email protected]~precompile: [email protected]
6 info lifecycle [email protected]~compile: [email protected]
7 verbose lifecycle [email protected]~compile: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~compile: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\{my_name}\Downloads\vls-vscode-master\vls-vscode-master\node_modules\.bin;C:\Users\{my_name}\AppData\Roaming\npm;C:\Program Files\nodejs\;C:\Program Files\Python39\Scripts\;C:\Program Files\Python39\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\msys64\mingw64\bin;C:\Program Files\nodejs\;C:\Users\{my_name}\AppData\Local\Microsoft\WindowsApps;C:\ProgramData\Microsoft VS Code\bin;C:\msys64\mingw64\bin;C:\Users\{my_name}\AppData\Roaming\npm
9 verbose lifecycle [email protected]~compile: CWD: C:\Users\{my_name}\Downloads\vls-vscode-master\vls-vscode-master
10 silly lifecycle [email protected]~compile: Args: [ '/d /s /c', 'tsc -b' ]
11 silly lifecycle [email protected]~compile: Returned: code: 1 signal: null
12 info lifecycle [email protected]~compile: Failed to exec compile script
13 verbose stack Error: [email protected] compile: `tsc -b`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:400:28)
13 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:400:28)
13 verbose stack at maybeClose (internal/child_process.js:1055:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
14 verbose pkgid [email protected]
15 verbose cwd C:\Users\{my_name}\Downloads\vls-vscode-master\vls-vscode-master
16 verbose Windows_NT 10.0.19043
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "compile"
18 verbose node v14.17.6
19 verbose npm v6.14.15
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] compile: `tsc -b`
22 error Exit status 1
23 error Failed at the [email protected] compile script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
All dependencies listed in devDependencies
of package.json
were installed
I firstly run npm install
, and then run npm run compile
. But it resulted in a compilation error.
> [email protected] compile /home/shark/Desktop/vls-vscode
> tsc -b
node_modules/@types/vscode/index.d.ts:6035:64 - error TS1005: ',' expected.
6035 export interface DiagnosticCollection extends Iterable<[uri: Uri, diagnostics: readonly Diagnostic[]]> {
~
node_modules/@types/vscode/index.d.ts:6035:82 - error TS1005: ',' expected.
6035 export interface DiagnosticCollection extends Iterable<[uri: Uri, diagnostics: readonly Diagnostic[]]> {
~
node_modules/@types/vscode/index.d.ts:6035:93 - error TS1005: ',' expected.
6035 export interface DiagnosticCollection extends Iterable<[uri: Uri, diagnostics: readonly Diagnostic[]]> {
~~~~~~~~~~
node_modules/@types/vscode/index.d.ts:6035:104 - error TS1011: An element access expression should take an argument.
6035 export interface DiagnosticCollection extends Iterable<[uri: Uri, diagnostics: readonly Diagnostic[]]> {
node_modules/@types/vscode/index.d.ts:6035:105 - error TS1005: ',' expected.
6035 export interface DiagnosticCollection extends Iterable<[uri: Uri, diagnostics: readonly Diagnostic[]]> {
~
node_modules/@types/vscode/index.d.ts:6035:106 - error TS1109: Expression expected.
6035 export interface DiagnosticCollection extends Iterable<[uri: Uri, diagnostics: readonly Diagnostic[]]> {
~
node_modules/@types/vscode/index.d.ts:6042:30 - error TS1005: ',' expected.
6042 readonly name: string;
~
node_modules/@types/vscode/index.d.ts:6063:9 - error TS1005: ',' expected.
6063 set(entries: ReadonlyArray<[Uri, readonly Diagnostic[] | undefined]>): void;
~~~
node_modules/@types/vscode/index.d.ts:6071:9 - error TS1005: ',' expected.
6071 delete(uri: Uri): void;
~~~~~~
node_modules/@types/vscode/index.d.ts:6077:9 - error TS1005: ',' expected.
6077 clear(): void;
~~~~~
node_modules/@types/vscode/index.d.ts:6085:9 - error TS1005: ',' expected.
6085 forEach(callback: (uri: Uri, diagnostics: readonly Diagnostic[], collection: DiagnosticCollection) => any, thisArg?: any): void;
~~~~~~~
node_modules/@types/vscode/index.d.ts:6094:9 - error TS1005: ',' expected.
6094 get(uri: Uri): readonly Diagnostic[] | undefined;
~~~
node_modules/@types/vscode/index.d.ts:6103:9 - error TS1005: ',' expected.
6103 has(uri: Uri): boolean;
~~~
node_modules/@types/vscode/index.d.ts:6109:9 - error TS1005: ',' expected.
6109 dispose(): void;
~~~~~~~
node_modules/@types/vscode/index.d.ts:10175:60 - error TS1005: ',' expected.
10175 export class DataTransfer implements Iterable<[mimeType: string, item: DataTransferItem]> {
~
node_modules/@types/vscode/index.d.ts:10175:74 - error TS1005: ',' expected.
10175 export class DataTransfer implements Iterable<[mimeType: string, item: DataTransferItem]> {
~
node_modules/@types/vscode/index.d.ts:10175:92 - error TS1005: ',' expected.
10175 export class DataTransfer implements Iterable<[mimeType: string, item: DataTransferItem]> {
~
node_modules/@types/vscode/index.d.ts:10175:93 - error TS1109: Expression expected.
10175 export class DataTransfer implements Iterable<[mimeType: string, item: DataTransferItem]> {
~
node_modules/@types/vscode/index.d.ts:10192:9 - error TS1005: ',' expected.
10192 set(mimeType: string, value: DataTransferItem): void;
~~~
node_modules/@types/vscode/index.d.ts:10200:9 - error TS1005: ',' expected.
10200 forEach(callbackfn: (item: DataTransferItem, mimeType: string, dataTransfer: DataTransfer) => void, thisArg?: any): void;
~~~~~~~
node_modules/@types/vscode/index.d.ts:10205:9 - error TS1005: ',' expected.
10205 [Symbol.iterator](): IterableIterator<[mimeType: string, item: DataTransferItem]>;
~
node_modules/@types/vscode/index.d.ts:10205:56 - error TS1005: ',' expected.
10205 [Symbol.iterator](): IterableIterator<[mimeType: string, item: DataTransferItem]>;
~
node_modules/@types/vscode/index.d.ts:10205:88 - error TS1005: ',' expected.
10205 [Symbol.iterator](): IterableIterator<[mimeType: string, item: DataTransferItem]>;
~
node_modules/@types/vscode/index.d.ts:10205:89 - error TS1136: Property assignment expected.
10205 [Symbol.iterator](): IterableIterator<[mimeType: string, item: DataTransferItem]>;
~
node_modules/@types/vscode/index.d.ts:10205:90 - error TS1109: Expression expected.
10205 [Symbol.iterator](): IterableIterator<[mimeType: string, item: DataTransferItem]>;
~
node_modules/@types/vscode/index.d.ts:10874:78 - error TS1005: ',' expected.
10874 export interface EnvironmentVariableCollection extends Iterable<[variable: string, mutator: EnvironmentVariableMutator]> {
~
node_modules/@types/vscode/index.d.ts:10874:95 - error TS1005: ',' expected.
10874 export interface EnvironmentVariableCollection extends Iterable<[variable: string, mutator: EnvironmentVariableMutator]> {
~
node_modules/@types/vscode/index.d.ts:10874:123 - error TS1005: ',' expected.
10874 export interface EnvironmentVariableCollection extends Iterable<[variable: string, mutator: EnvironmentVariableMutator]> {
~
node_modules/@types/vscode/index.d.ts:10874:124 - error TS1109: Expression expected.
10874 export interface EnvironmentVariableCollection extends Iterable<[variable: string, mutator: EnvironmentVariableMutator]> {
~
node_modules/@types/vscode/index.d.ts:10882:28 - error TS1005: ',' expected.
10882 persistent: boolean;
~
node_modules/@types/vscode/index.d.ts:10904:9 - error TS1005: ',' expected.
10904 append(variable: string, value: string): void;
~~~~~~
node_modules/@types/vscode/index.d.ts:10915:9 - error TS1005: ',' expected.
10915 prepend(variable: string, value: string): void;
~~~~~~~
node_modules/@types/vscode/index.d.ts:10922:9 - error TS1005: ',' expected.
10922 get(variable: string): EnvironmentVariableMutator | undefined;
~~~
node_modules/@types/vscode/index.d.ts:10930:9 - error TS1005: ',' expected.
10930 forEach(callback: (variable: string, mutator: EnvironmentVariableMutator, collection: EnvironmentVariableCollection) => any, thisArg?: any): void;
~~~~~~~
node_modules/@types/vscode/index.d.ts:10937:9 - error TS1005: ',' expected.
10937 delete(variable: string): void;
~~~~~~
node_modules/@types/vscode/index.d.ts:10942:9 - error TS1005: ',' expected.
10942 clear(): void;
~~~~~
node_modules/@types/vscode/index.d.ts:15753:61 - error TS1005: ',' expected.
15753 export interface TestItemCollection extends Iterable<[id: string, testItem: TestItem]> {
~
node_modules/@types/vscode/index.d.ts:15753:79 - error TS1005: ',' expected.
15753 export interface TestItemCollection extends Iterable<[id: string, testItem: TestItem]> {
~
node_modules/@types/vscode/index.d.ts:15753:89 - error TS1005: ',' expected.
15753 export interface TestItemCollection extends Iterable<[id: string, testItem: TestItem]> {
~
node_modules/@types/vscode/index.d.ts:15753:90 - error TS1109: Expression expected.
15753 export interface TestItemCollection extends Iterable<[id: string, testItem: TestItem]> {
~
node_modules/@types/vscode/index.d.ts:15757:30 - error TS1005: ',' expected.
15757 readonly size: number;
~
node_modules/@types/vscode/index.d.ts:15771:9 - error TS1005: ',' expected.
15771 forEach(callback: (item: TestItem, collection: TestItemCollection) => unknown, thisArg?: any): void;
~~~~~~~
node_modules/@types/vscode/index.d.ts:15778:9 - error TS1005: ',' expected.
15778 add(item: TestItem): void;
~~~
node_modules/@types/vscode/index.d.ts:15784:9 - error TS1005: ',' expected.
15784 delete(itemId: string): void;
~~~~~~
node_modules/@types/vscode/index.d.ts:15791:9 - error TS1005: ',' expected.
15791 get(itemId: string): TestItem | undefined;
~~~
node_modules/@types/vscode/index.d.ts:16212:1 - error TS1128: Declaration or statement expected.
16212 }
~
Found 46 errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] compile: `tsc -b`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] compile 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:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.