jupyter-ui icon indicating copy to clipboard operation
jupyter-ui copied to clipboard

Support for Create React App for Jupyter-UI

Open Prahmodh-Raj1 opened this issue 8 months ago • 3 comments

Description

I'm encountering the following issues while trying to use Jupyter UI in my Create React Application

image

And while installing the dependencies,the following error throws up:

Command: npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: @datalayer/[email protected]        
npm ERR! Found: [email protected]
npm ERR! node_modules/vite
npm ERR!   dev vite@"^5.2.7" from @datalayer/[email protected]
npm ERR!   examples/lexical
npm ERR!     @datalayer/[email protected]
npm ERR!     node_modules/@datalayer/jupyter-lexical-example
npm ERR!       workspace examples\lexical from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vite@"^2" from [email protected]
npm ERR! node_modules/vite-plugin-replace
npm ERR!   dev vite-plugin-replace@"^0.1.1" from @datalayer/[email protected]        
npm ERR!   examples/lexical
npm ERR!     @datalayer/[email protected]
npm ERR!     node_modules/@datalayer/jupyter-lexical-example
npm ERR!       workspace examples\lexical 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! C:\Users\xyz\AppData\Local\npm-cache\_logs\2024-06-23T10_58_57_044Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: C:\Users\xyz\AppData\Local\npm-cache\_logs\2024-06-23T10_58_57_044Z-debug-0.log

Kindly let me know how these errors could be resolved. cc @echarles

Prahmodh-Raj1 avatar Jun 23 '24 11:06 Prahmodh-Raj1