☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Unable to setup Bokehjs

Community Supportbokehjs
Akhil
Akhil

I am trying to setup Bokehjs in a react app. On importing the bokehjs libraray in myApp.js I get an error. I am using node version(16.20.1) and npm version(8.19.4). Bokehjs library version is 2.4.3 Pasting code below for the App.js

import logo from './logo.svg';
import './App.css';
import { useEffect } from 'react';
import { embed } from '@bokeh/bokehjs/build/js/lib'

function App() {
  return (
    <div className="App">
      <header className="App-header">
        <img src={logo} className="App-logo" alt="logo" />
        <p>
          Edit <code>src/App.js</code> and save to reload.
        </p>
        <a
          className="App-link"
          href="https://reactjs.org"
          target="_blank"
          rel="noopener noreferrer"
        >
          Learn React
        </a>
      </header>
    </div>
  );
}

export default App;

Error Screenshot

⌁   Link to post

End of archived discussion · Replies are disabled