Unable to setup Bokehjs

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" />
          Edit <code>src/App.js</code> and save to reload.
          rel="noopener noreferrer"
          Learn React

export default App;

Error Screenshot

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.