Replies: 2 comments 6 replies
-
|
Here are my files right now. For each error I solve another one pops up, as always when I try to go down this path... 😭 package.json Worker and cad are almost straight out of app-example. If anyone can get this running with "node server.js" - Awesome! |
Beta Was this translation helpful? Give feedback.
-
|
The good news is that you don't need a You could also do some pure backend stuff - I have created this CLI https://github.com/sgenoud/replicad-cli (it uses deno which was easier to work with as its model is closer to the browser). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Love the workbench, but I would like to build something running on my host (using similar to Cpanel). I'm having a lot of trouble getting things up and running, but my main approach is this:
I'm getting some strange errors when running the app-example online (no problem locally though), so I want to strip away everything not necessary to get things running before building the rest.
When I do this, with very similar code to app-example, I get various import errors such as:
Model generation error: TypeError: oc.gp_Vec_4 is not a constructoror
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".wasm"or
Startup error: TypeError: opencascadeFactory is not a functionThe last one is some sort of import error, but I'm no web developer so I have no idea. Web development is so messy compared to app development (which I've done for 12 years..). I would really appreciate any help, thanks!
What would a barebones server.js look like?
Beta Was this translation helpful? Give feedback.
All reactions