I have create a react app simply using react redux template npx create-react-app my-app --template redux. Now after I npm install @bokeh/bokehjs and import * as Bokeh from "@bokeh/bokehjs";. A bunch of error show up:
WARNING in ./node_modules/@bokeh/bokehjs/build/js/lib/testing.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'C:\Users\s1023\OneDrive - Desktop\my-app\app\app\node_modules\@bokeh\bokehjs\build\js\lib\testing.js.map' file: Error: ENOENT: no such file or directory, open 'C:\Users\s023\OneDrive - Desktop\my-app\app\app\node_modules\@bokeh\bokehjs\build\js\lib\testing.js.map'
WARNING in [eslint]
src\features\heatmapSlice\heatmap.jsx
Line 1:13: 'Bokeh' is defined but never used no-unused-vars
webpack compiled with 437 warnings
I haven't started doing anything but simply created the react template and import * as Bokeh from "@bokeh/bokehjs";. I need to render the bokeh diagram in my react app, has anyone know what is going on with the bokehjs import? I am using "@bokeh/bokehjs": "^2.4.3".