Skip to content

vite template not working #41

@alfonsoar

Description

@alfonsoar

I did not get a chance to troubleshoot it too much but if you clone this repo and run the following steps you should be able to replicate the issue:

Steps

  1. Clone the repo
  2. cd typescript/react_vite/created
  3. open package.json and replace "file:../../../../bokeh-bokehjs-3.8.0-dev.1.tgz" with 3.8.0
  4. npm i
  5. npm run dev

Error

@bokeh_bokehjs.js?v=05eb206e:54312 Uncaught TypeError: Cannot read properties of undefined (reading 'emit')
    at _Toolbar.<anonymous> (@bokeh_bokehjs.js?v=05eb206e:54312:31)
    at Signal0.emit (chunk-7QV225MX.js?v=43854a30:226:14)
    at Signal0.emit (chunk-7QV225MX.js?v=43854a30:234:11)
    at _PanTool._setv (@bokeh_bokehjs.js?v=05eb206e:23584:19)
    at _PanTool.setv (@bokeh_bokehjs.js?v=05eb206e:23617:26)
    at _PanTool.set [as active] (@bokeh_bokehjs.js?v=05eb206e:23342:16)
    at _activate_gesture (@bokeh_bokehjs.js?v=05eb206e:54305:21)
    at _Toolbar._activate_tools (@bokeh_bokehjs.js?v=05eb206e:54346:15)
    at _Toolbar.<anonymous> (@bokeh_bokehjs.js?v=05eb206e:54229:12)
    at Signal0.emit (chunk-7QV225MX.js?v=43854a30:226:14)

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions