I cloned the following repo
and from within the purejs-demo folder issued
npm i
and received the error
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: videosdk-demo-purejs@1.8.0
npm ERR! Found: @typescript-eslint/parser@6.0.0
npm ERR! node_modules/@typescript-eslint/parser
npm ERR! peer @typescript-eslint/parser@“^6.0.0 || ^6.0.0-alpha” from @typescript-eslint/eslint-plugin@6.0.0
npm ERR! node_modules/@typescript-eslint/eslint-plugin
npm ERR! peerOptional @typescript-eslint/eslint-plugin@“>=5.38.1” from eslint-config-alloy@4.9.0
npm ERR! node_modules/eslint-config-alloy
npm ERR! dev eslint-config-alloy@“^4.6.2” from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peerOptional @typescript-eslint/parser@“5.x” from eslint-config-alloy@4.9.0
npm ERR! node_modules/eslint-config-alloy
npm ERR! dev eslint-config-alloy@“^4.6.2” from the root project
Looking inside the package.json in the react-demo folder (which does ‘npm i’ properly) I found the following dependencies and adding them to package.json within purejs-demo package.json seems to have fixed the issue.
“@typescript-eslint/eslint-plugin”: “^5.31.0”,
“@typescript-eslint/parser”: “^5.31.0”
Thank you for addressing this issue.