Hi Ricardo,

I've never seen that error, but it almost sounds like you have the wrong 
version of one dependency installed.  You may want to try running a "yarn 
run clean" to delete all local dependencies and re-run the "yarn install" 
to see if it fixes the issue.
I can verify though that this error is not occurring for me, for our demo 
site <https://demo.dspace.org> (running 8.0) or for all our automated 
tests.  So, it seems like something in your local environment.

Tim

On Friday, October 11, 2024 at 6:58:51 AM UTC-5 rdda...@uwc.ac.za wrote:

> Hi
>
> Have anyone encoutered the below error when running "yarn install". I 
> switched to various node engines to check. After using ^18.18.0 , I got the 
> elow errors.
>
>
> $ yarn build:lint || echo 'Skipped DSpace ESLint plugins.'
> yarn run v1.22.22
> $ rimraf 'lint/dist/**/*.js' 'lint/dist/**/*.js.map' && tsc -b 
> lint/tsconfig.json
> lint/src/util/structure.ts:12:20 - error TS2314: Generic type 
> 'RuleMetaData<MessageIds, Options>' requires 2 type argument(s).
>
> 12 export type Meta = TSESLint.RuleMetaData<string>;
>                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> lint/test/testing.ts:52:3 - error TS2353: Object literal may only specify 
> known properties, and 'parser' does not exist in type 'Config<RulesRecord>'.
>
> 52   parser: require.resolve('@angular-eslint/template-parser'),
>      ~~~~~~
>
>
> Found 2 errors.
>
> error Command failed with exit code 1.
> info Visit https://yarnpkg.com/en/docs/cli/run for documentation about 
> this command.
> Skipped DSpace ESLint plugins.
>
>
> Thank you in advance.
>
> Regards,
> Ricardo
>
>
> Disclaimer - This e-mail is subject to UWC policies and e-mail disclaimer 
> published on our website at: https://www.uwc.ac.za/disclaimer
>
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/dspace-tech/9dbdbf50-575d-4102-afbe-220b16e9bd87n%40googlegroups.com.

Reply via email to