ALL software version info (bokeh, python, notebook, OS, browser, any other relevant packages)
bokeh : 2.1.0
node : 14.4.0
react : 16.13.1
typescript : 3.9.5
OS : Ubuntu 18.04 in WSL2
Description of expected behavior and the observed behavior
An error occurred when just importing bokehJS in webpack based JSX code (React). It might be revisit of #8197 or webpack confused about .css.js (style/annotation.css.js )
./node_modules/@bokeh/bokehjs/build/js/lib/models/annotations/annotation.js
Module not found: Can't resolve 'styles/annotations.css' in 'mydirectories/node_modules/@bokeh/bokehjs/build/js/lib/models/annotations'
The text was updated successfully, but these errors were encountered:
appleparan commentedJun 15, 2020
•
edited
ALL software version info (bokeh, python, notebook, OS, browser, any other relevant packages)
Description of expected behavior and the observed behavior
An error occurred when just importing bokehJS in webpack based JSX code (React). It might be revisit of #8197 or webpack confused about
.css.js
(style/annotation.css.js
)Check this:
bokeh/bokehjs/src/lib/models/annotations/annotation.ts
Line 9 in 00cdec4
Complete, minimal, self-contained example code that reproduces the issue
Simple Repo to reproduce
What I did;
then add
import * as Bokeh from "@bokeh/bokehjs";
inApp.js
.Stack traceback and/or browser JavaScript console output
The text was updated successfully, but these errors were encountered: