I 'm trying to use the plotting library BokehJS with a React app that was set up using
The library was installed using
npm install bokehjs
Inside the myapp/public/index.html file, the following lines were added (as explained in the user guide’s installation section):
I now would like to recreate some of the examples in the BokehJS user guide. Importing the module in myapp/App.js with
import Bokeh from 'bokehjs'
and trying to access some of the module’s functions/objects like
leads to the following error being displayed in the browser after compilation:
TypeError: undefined is not an object (evaluating 'bokehjs__WEBPACK_IMPORTED_MODULE_3___default.a.LinAlg')
In the browser developer tools’ console, the following error is displayed:
Failed to load resource: the server responded with a status of 403 ()
Any help with fixing this would be greatly appreciated.