web-ifc-three
web-ifc-three copied to clipboard
RuntimeError when following the Hello World tutorial
I'm going through the Hello World tutorial and I've literally just copied and pasted all the sample code. I'm just trying to get something up and running, but I'm getting the error in the attached picture when I open the project on my local host.
Here's what I've done:
- All the sample code is copied and pasted
- wasm files are in the root directory
- I'm trying to load an ifc from a folder called "models" which is in the root directory
- I've tried it on Chrome V104 and Edge V104
- I'm running the latest version of NodeJS

::take
🟢🟢🟢
::take
Hi, @aka-blackboots! Thanks for taking this bounty! The due date is December 19, 2022 UTC.
If you need to submit some pull requests (PR) to complete the tasks, make sure that the last and only the last PR has a title that either starts with the bounty ID or is exactly the same as the bounty name. After the PR is merged, this bounty’s status will automatically changed to done.
If you do not need to make a PR, tell the manager @agviegas to run ::done command after your tasks is confirmed to be done.
Good luck!
::drop
🟢🟢🟢
::drop
Hi, @aka-blackboots! Thanks for giving it a try! It’s now once again available for anyone to take.
::take
🟢🟢🟢
::take
Hi, @rrdls! Thanks for taking this bounty! The due date is December 27, 2022 UTC.
If you need to submit some pull requests (PR) to complete the tasks, make sure that the last and only the last PR has a title that either starts with the bounty ID or is exactly the same as the bounty name. After the PR is merged, this bounty’s status will automatically changed to done.
If you do not need to make a PR, tell the manager @agviegas to run ::done command after your tasks is confirmed to be done.
Good luck!
Hello, @agviegas !
I tried to reproduce the reported error and this error is occurring because the user put the directory of the 'wasm' files incorrectly or put the wrong 'wasm' files. @dankollar reports that he put the wasm files in the root directory. Since he just copied and pasted the code, the directory used in 'Hello World' example is the following:
ifcLoader.ifcManager.setWasmPath("static/wasm/");
::done
🟢🟢🟢
::done
Hi, @rrdls! Thanks for your contributions! Please submit an expense to IFC.js Open Collective. Then, tell us the invoice number via the ::expense::_____ command (replace the _____ with the invoice number).
::expense::112800
🟢🟢🟢
::expense::112800
Hi, @rrdls! Thanks for the confirmation! We’ll proceed to review the expense. Once it’s approved, the payment will be scheduled.