We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello Team, This library is amazing and would be very useful for me. However, I encountered an error while installing it from npm.
(base) anshuman@Anshumans-MacBook-Pro cra % npm i @datalayer/jupyter-react npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: react-inspector@5.1.1 npm WARN Found: react@18.2.0 npm WARN node_modules/react npm WARN peer react@">= 16" from @datalayer/icons-react@0.2.2 npm WARN node_modules/@datalayer/icons-react npm WARN @datalayer/icons-react@"0.2.2" from @datalayer/primer-addons@0.2.2 npm WARN node_modules/@datalayer/primer-addons npm WARN 138 more (@datalayer/primer-addons, @jupyterlab/apputils, ...) npm WARN npm WARN Could not resolve dependency: npm WARN peer react@"^16.8.4 || ^17.0.0" from react-inspector@5.1.1 npm WARN node_modules/react-inspector npm WARN react-inspector@"5.1.1" from @datalayer/jupyter-react@0.9.4 npm WARN node_modules/@datalayer/jupyter-react npm WARN npm WARN Conflicting peer dependency: react@17.0.2 npm WARN node_modules/react npm WARN peer react@"^16.8.4 || ^17.0.0" from react-inspector@5.1.1 npm WARN node_modules/react-inspector npm WARN react-inspector@"5.1.1" from @datalayer/jupyter-react@0.9.4 npm WARN node_modules/@datalayer/jupyter-react npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: react-scripts@4.0.3 npm ERR! Found: typescript@5.0.3 npm ERR! node_modules/typescript npm ERR! peer typescript@">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" from tsutils@3.21.0 npm ERR! node_modules/tsutils npm ERR! tsutils@"^3.21.0" from @typescript-eslint/eslint-plugin@4.33.0 npm ERR! node_modules/@typescript-eslint/eslint-plugin npm ERR! peer @typescript-eslint/eslint-plugin@"^4.0.0" from eslint-config-react-app@6.0.0 npm ERR! node_modules/eslint-config-react-app npm ERR! eslint-config-react-app@"^6.0.0" from react-scripts@4.0.3 npm ERR! node_modules/react-scripts npm ERR! 2 more (eslint-plugin-jest, react-scripts) npm ERR! tsutils@"^3.21.0" from @typescript-eslint/typescript-estree@4.33.0 npm ERR! node_modules/@typescript-eslint/typescript-estree npm ERR! @typescript-eslint/typescript-estree@"4.33.0" from @typescript-eslint/experimental-utils@4.33.0 npm ERR! node_modules/@typescript-eslint/experimental-utils npm ERR! @typescript-eslint/experimental-utils@"4.33.0" from @typescript-eslint/eslint-plugin@4.33.0 npm ERR! node_modules/@typescript-eslint/eslint-plugin npm ERR! 1 more (eslint-plugin-jest) npm ERR! 1 more (@typescript-eslint/parser) npm ERR! 1 more (@typescript-eslint/typescript-estree) npm ERR! dev typescript@"5.0.3" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peerOptional typescript@"^3.2.1 || ^4" from react-scripts@4.0.3 npm ERR! node_modules/react-scripts npm ERR! dev react-scripts@"4.0.3" from the root project npm ERR! npm ERR! Conflicting peer dependency: typescript@4.9.5 npm ERR! node_modules/typescript npm ERR! peerOptional typescript@"^3.2.1 || ^4" from react-scripts@4.0.3 npm ERR! node_modules/react-scripts npm ERR! dev react-scripts@"4.0.3" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! npm ERR! For a full report see: npm ERR! /Users/anshuman/.npm/_logs/2024-02-15T09_48_10_090Z-eresolve-report.txt npm ERR! A complete log of this run can be found in: /Users/anshuman/.npm/_logs/2024-02-15T09_48_10_090Z-debug-0.log (base) anshuman@Anshumans-MacBook-Pro cra %
I assume this is a TypeScript version issue. Could you please guide me on how to install the correct version? Thank you.
The text was updated successfully, but these errors were encountered:
jupyter-react uses typescript 5.0.3 while react-scripts@4.0.3 does supports only typescript 4.
Can you try using react-script 5?
Sorry, something went wrong.
No branches or pull requests
Hello Team,
This library is amazing and would be very useful for me. However, I encountered an error while installing it from npm.
I assume this is a TypeScript version issue. Could you please guide me on how to install the correct version?
Thank you.
The text was updated successfully, but these errors were encountered: