Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Unexpected token '<' #1051

Open
Wizer21 opened this issue Sep 25, 2024 · 1 comment
Open

[Bug]: Unexpected token '<' #1051

Wizer21 opened this issue Sep 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Wizer21
Copy link

Wizer21 commented Sep 25, 2024

What happened?

Hello !

I'm working on a vite/vue.js project where I load IFC models into Three.js, and this part work fine.

But I'd like to add these two lines in my vite config so my application can use 'SharedArrayBuffer'
image

And I get the following error
image
un expected token

Versions
vue 3.5.4
vite 5.4.4
web-ifc 0.0.58
@thatopen/components 2.2.11

Version

0.0.58

What browsers are you seeing the problem on?

No response

Relevant log output

No response

Anything else?

No response

@Wizer21 Wizer21 added the bug Something isn't working label Sep 25, 2024
@beachtom
Copy link
Collaborator

it looks like your server is returning an error when web-ifc tries to fetch the worker javascript - you can look in the network console about this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants