Skip to content

Can't build the hello_world example.  #24

@joanimato

Description

@joanimato

Hi,

I'm trying to get started with the hello_world example, but when I try to build it I'm getting the following error

dune build ./main.bc.js

Entering directory 'path/to/bonsai'
File "web/dune", line 4, characters 18-47:
4 |   bonsai_protocol incr_dom.javascript_profiling)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Library "incr_dom.javascript_profiling" not found.
-> required by library "bonsai.web" in _build/default/web
-> required by executable main in examples/hello_world/dune:1
-> required by _build/default/examples/hello_world/main.bc.js

As far as I can tell, incr_dom is installed. I've also tried adding the janestreet repository to my current opam switch, but the same error persists.

I'm using Ocaml 4.13 on WSL/Windows.
Opam list: https://gist.github.com/joanimato/55207a2352daa16c142b052342b8231a

Metadata

Metadata

Assignees

No one assigned

    Labels

    forwarded-to-js-devsThis report has been forwarded to Jane Street's internal review system.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions