Servoy Packages Errors?

Questions and answers for all installation-related topics for Servoy products

Servoy Packages Errors?

Postby huber » Thu May 25, 2023 9:12 am

Hi All

I assume it's after the updating of Servoy Packages, we get errors on startup of the Servoy Developer 2022.6.0 like the following (it's only a part of all (error)messages in the Console):

How can this be fixed?

Code: Select all
---- Running npm command:
/Users/.../.metadata/.plugins/com.servoy.eclipse.ngclient.ui/node-v16.15.0-darwin-arm64/bin/node
/Users/.../.metadata/.plugins/com.servoy.eclipse.ngclient.ui/node-v16.15.0-darwin-arm64/lib/node_modules/npm/bin/npm-cli.js
install --legacy-peer-deps
In dir: /Users/.../.metadata/.plugins/com.servoy.eclipse.ngclient.ui/target

up to date, audited 1409 packages in 1s

192 packages are looking for funding
run `npm fund` for details

5 high severity vulnerabilities

To address all issues, run:
npm audit fix --force

Run `npm audit` for details.
Finished running 'install --legacy-peer-deps ' time: 1s

...

Error: node_modules/@servoy/nggrids/datagrid/filters/datagridfilter.d.ts:18:5 - error TS2416: Property 'agInit' in type 'DatagridFilterDirective' is not assignable to the same property in base type 'AgFilterComponent'.
Type '(params: IFilterParams<any, any>) => void' is not assignable to type '(params: IFilterParams) => void'.
Types of parameters 'params' and 'params' are incompatible.
Type 'IFilterParams' is not assignable to type 'IFilterParams<any, any>'.
Types of property 'column' are incompatible.

...

18     agInit(params: IFilterParams): void;
~~~~~~


Error: node_modules/@servoy/nggrids/datagrid/filters/datagridfilter.d.ts:34:18 - error TS2314: Generic type 'ɵɵDirectiveDeclaration' requires 6 type argument(s).

34     static ɵdir: i0.ɵɵDirectiveDeclaration<DatagridFilterDirective, never, never, {}, {}, never, never, false, never>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Error: node_modules/@servoy/nggrids/datagrid/filters/radiofilter.d.ts:9:18 - error TS2314: Generic type 'ɵɵComponentDeclaration' requires 7 type argument(s).

9     static ɵcmp: i0.ɵɵComponentDeclaration<RadioFilter, "aggrid-datagrid-radiofilter", never, {}, {}, never, never, false, never>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Error: node_modules/@servoy/nggrids/datagrid/filters/valuelistfilter.d.ts:21:18 - error TS2314: Generic type 'ɵɵComponentDeclaration' requires 7 type argument(s).

21     static ɵcmp: i0.ɵɵComponentDeclaration<ValuelistFilter, "aggrid-datagrid-valuelistfilter", never, {}, {}, never, never, false, never>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: node_modules/@servoy/nggrids/datagrid/renderers/blankloadingcellrenderer.d.ts:5:5 - error TS2416: Property 'agInit' in type 'BlankLoadingCellRendrer' is not assignable to the same property in base type 'ILoadingCellRendererAngularComp'.
Type '(params: ILoadingCellRendererParams<any, any>) => void' is not assignable to type '(params: ILoadingCellRendererParams) => void'.
Types of parameters 'params' and 'params' are incompatible.
Type 'ILoadingCellRendererParams' is not assignable to type 'ILoadingCellRendererParams<any, any>'.
Types of property 'pinned' are incompatible.
Type 'string' is not assignable to type '"left" | "right"'.

...

Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 536
Joined: Mon May 14, 2012 11:31 pm

Return to Installation

Who is online

Users browsing this forum: No registered users and 5 guests