-
I'm excited about looking at this navmesh libary, it looks awesome. But when I've tried to add recast-navigation to an existing React Three Fiber (& vite) project, as soon as I add the tag around my ground component (which is in fact a drei loaded model), I get this error message:
My googling seems to indicate it may be related to ECMAScript version mismatch, but I've run out of ideas on how to address it. Can anyone suggest where I could start looking to try to track this down? My package.json dependencies look like this: "dependencies": { Thanks for any help in advance :-) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Wow, thanks for getting back to me so quickly.
Adding just the suspend to the component code was fine, adding the tag the the exception. Sadly I don't have a github repo for the project, and it'll take me a while to set up a sandbox. I'd have to cut down the app to bare minimum of course. I was hoping this was maybe just a newbie error. Anyway I'll try to come up with a minimal sandbox that exhibits the problem and get back to you. Thanks again for your quick response, and kudos on the work you've done here, it looks very excellent indeed :-) |
Beta Was this translation helpful? Give feedback.
Oh my, sorry about the fire drill. I've discovered I just fatfingered when copying code from the example, examples/parcel-example/index.jsx. Once I'd corrected my hasty copy & paste things are working fine and I'm able to see the NavMeshHelper.
Looking good!
Thanks again for all your hard work!!
Cheers.