import bokehjs error, failed to parse source map from

تبليغ
سؤال

يرجى شرح بإيجاز لمإذا تشعر أنك ينبغي الإبلاغ عن هذا السؤال.

تبليغ
‎إلغاء

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:Userss1023OneDrive – Desktopmy-appappappnode_modules@bokehbokehjsbuildjslibtesting.js.map’ file: Error: ENOENT: no such file or directory, open ‘C:Userss023OneDrive – Desktopmy-appappappnode_modules@bokehbokehjsbuildjslibtesting.js.map’

WARNING in [eslint]
srcfeaturesheatmapSliceheatmap.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”.

‫أضف إجابة

تصفح
تصفح

مجهول يجيب