Skip to content

Incorrect version in the documentation #41

@JannikBrack

Description

@JannikBrack

Hello, I would like to point out that there is an error in the documentation for the IFC example (https://docs.thatopen.com/Tutorials/Components/Core/IfcLoader#-importing-our-libraries:~:text=path%3A%20%22https%3A//unpkg.com/web%2Difc%400.0.69/%22%2C )

I tried to use the described version and received the following error message:

@thatopen_components.js?v=0d97f483:38352 Uncaught (in promise) BindingError: _emval_take_value has unknown type N3glm3vecILi4EdLNS_9qualifierE0EEE
    at throwBindingError (@thatopen_components…v=0d97f483:38352:17)
    at requireRegisteredType (@thatopen_components…v=0d97f483:39740:13)
    at __emval_take_value (@thatopen_components…v=0d97f483:39860:18)
    at web-ifc.wasm:0x84c28
    at web-ifc.wasm:0x78604
    at callRuntimeCallbacks (@thatopen_components…v=0d97f483:38093:30)
    at initRuntime (@thatopen_components…v=0d97f483:37949:11)
    at doRun (@thatopen_components…v=0d97f483:42142:13)
    at run (@thatopen_components…v=0d97f483:42156:13)
    at runCaller (@thatopen_components…v=0d97f483:42126:27

However, I got it to work:

await ifcLoader.setup({
  autoSetWasm: false,
  wasm: {
    path: "https://unpkg.com/web-ifc@0.0.69/", // replace the version with @latest
    absolute: true,
  },
});

Best regards

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