question: can not run make install correctly in wsl2 ubuntu
- Dominant language
- TypeScript
- Stars
- 15.6k
- Forks
- 1.4k
- Avg merge
- 20m
- Merged PRs (30d)
- 1
Description
I always got error when excute make install
```
@`> nx run @apitable/api-client:build
> @apitable/api-client@0.0.1 build /home/bmw/apitable/apitable/packages/api-client
> tsc
../../node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index.d.ts(7,5): error TS2416: Property 'scopes' in type 'ScopeManager' is not assignable to the same property in base type 'ScopeManager'.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index").Scope[]' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint@8.56.5/node_modules/@types/eslint/index").Scope.Scope[]'.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index").Scope' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint@8.56.5/node_modules/@types/eslint/index").Scope.Scope'.
Types of property 'block' are incompatible.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+estree@0.0.50/node_modules/@types/estree/index").Node' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+estree@1.0.5/node_modules/@types/estree/index").Node'.
Type 'Program' is not assignable to type 'Node'.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+estree@0.0.50/node_modules/@types/estree/index").Program' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+estree@1.0.5/node_modules/@types/estree/index").Program'.
Types of property 'body' are incompatible.
Type '(Statement | ModuleDeclaration | Directive)[]' is not assignable to type '(ModuleDeclaration | Statement | Directive)[]'.
Type 'Statement | ModuleDeclaration | Directive' is not assignable to type 'ModuleDeclaration | Statement | Directive'.
Type 'FunctionDeclaration' is not assignable to type 'ModuleDeclaration | Statement | Directive'.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+estree@0.0.50/node_modules/@types/estree/index").FunctionDeclaration' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+estree@1.0.5/node_modules/@types/estree/index").FunctionDeclaration'.
Types of property 'id' are incompatible.
Type 'Identifier | null' is not assignable to type 'Identifier'.
Type 'null' is not assignable to type 'Identifier'.
../../node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index.d.ts(8,5): error TS2416: Property 'globalScope' in type 'ScopeManager' is not assignable to the same property in base type 'ScopeManager'.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index").Scope' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint@8.56.5/node_modules/@types/eslint/index").Scope.Scope'.
../../node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index.d.ts(9,5): error TS2416: Property 'acquire' in type 'ScopeManager' is not assignable to the same property in base type 'ScopeManager'.
Type '(node: {}, inner?: boolean | undefined) => Scope | null' is not assignable to type '(node: Node, inner?: boolean | undefined) => Scope | null'.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index").Scope | null' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint@8.56.5/node_modules/@types/eslint/index").Scope.Scope | null'.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index").Scope' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint@8.56.5/node_modules/@types/eslint/index").Scope.Scope'.
../../node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index.d.ts(10,5): error TS2416: Property 'getDeclaredVariables' in type 'ScopeManager' is not assignable to the same property in base type 'ScopeManager'.
Type '(node: {}) => Variable[]' is not assignable to type '(node: Node) => Variable[]'.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index").Variable[]' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint@8.56.5/node_modules/@types/eslint/index").Scope.Variable[]'.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index").Variable' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint@8.56.5/node_modules/@types/eslint/index").Scope.Variable'.
Types of property 'scope' are incompatible.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index").Scope' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint@8.56.5/node_modules/@types/eslint/index").Scope.Scope'.
../../node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index.d.ts(27,5): error TS2416: Property 'upper' in type 'Scope' is not assignable to the same property in base type 'Scope'.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index").Scope | null' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint@8.56.5/node_modules/@types/eslint/index").Scope.Scope | null'.
../../node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index.d.ts(28,5): error TS2416: Property 'childScopes' in type 'Scope' is not assignable to the same property in base type 'Scope'.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index").Scope[]' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint@8.56.5/node_modules/@types/eslint/index").Scope.Scope[]'.
../../node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index.d.ts(29,5): error TS2416: Property 'variableScope' in type 'Scope' is not assignable to the same property in base type 'Scope'.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index").Scope' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint@8.56.5/node_modules/@types/eslint/index").Scope.Scope'.
../../node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index.d.ts(30,5): error TS2416: Property 'block' in type 'Scope' is not assignable to the same property in base type 'Scope'.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+estree@0.0.50/node_modules/@types/estree/index").Node' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+estree@1.0.5/node_modules/@types/estree/index").Node'.
../../node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index.d.ts(31,5): error TS2416: Property 'variables' in type 'Scope' is not assignable to the same property in base type 'Scope'.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index").Variable[]' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint@8.56.5/node_modules/@types/eslint/index").Scope.Variable[]'.
../../node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index.d.ts(32,5): error TS2416: Property 'set' in type 'Scope' is not assignable to the same property in base type 'Scope'.
Type 'Map' is not assignable to type 'Map'.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index").Variable' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint@8.56.5/node_modules/@types/eslint/index").Scope.Variable'.
../../node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index.d.ts(33,5): error TS2416: Property 'references' in type 'Scope' is not assignable to the same property in base type 'Scope'.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index").Reference[]' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint@8.56.5/node_modules/@types/eslint/index").Scope.Reference[]'.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index").Reference' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint@8.56.5/node_modules/@types/eslint/index").Scope.Reference'.
Types of property 'from' are incompatible.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index").Scope' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint@8.56.5/node_modules/@types/eslint/index").Scope.Scope'.
../../node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index.d.ts(34,5): error TS2416: Property 'through' in type 'Scope' is not assignable to the same property in base type 'Scope'.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index").Reference[]' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint@8.56.5/node_modules/@types/eslint/index").Scope.Reference[]'.
../../node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index.d.ts(40,5): error TS2416: Property 'scope' in type 'Variable' is not assignable to the same property in base type 'Variable'.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index").Scope' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint@8.56.5/node_modules/@types/eslint/index").Scope.Scope'.
../../node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index.d.ts(42,5): error TS2416: Property 'references' in type 'Variable' is not assignable to the same property in base type 'Variable'.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index").Reference[]' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint@8.56.5/node_modules/@types/eslint/index").Scope.Reference[]'.
../../node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index.d.ts(48,5): error TS2416: Property 'from' in type 'Reference' is not assignable to the same property in base type 'Reference'.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index").Scope' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint@8.56.5/node_modules/@types/eslint/index").Scope.Scope'.
../../node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index.d.ts(49,5): error TS2416: Property 'resolved' in type 'Reference' is not assignable to the same property in base type 'Reference'.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index").Variable | null' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint@8.56.5/node_modules/@types/eslint/index").Scope.Variable | null'.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index").Variable' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+eslint@8.56.5/node_modules/@types/eslint/index").Scope.Variable'.
../../node_modules/.pnpm/@types+eslint-scope@3.7.7/node_modules/@types/eslint-scope/index.d.ts(50,5): error TS2416: Property 'writeExpr' in type 'Reference' is not assignable to the same property in base type 'Reference'.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+estree@0.0.50/node_modules/@types/estree/index").Node | null' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+estree@1.0.5/node_modules/@types/estree/index").Node | null'.
Type 'Program' is not assignable to type 'Node | null'.
Type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+estree@0.0.50/node_modules/@types/estree/index").Program' is not assignable to type 'import("/home/bmw/apitable/apitable/node_modules/.pnpm/@types+estree@1.0.5/node_modules/@types/estree/index").Program'.
ELIFECYCLE Command failed with exit code 2.`
```
Contributor guide
Assessment
This issue has not been assessed yet.