ThatOpen / web-ifc-viewer

Graphics engine and toolkit for client applications.
MIT License
947 stars 235 forks source link

Failed to resolve module 'three' and 'obc' in Express.js server with using Ifc.js #252

Open denizcandemirli opened 8 months ago

denizcandemirli commented 8 months ago
Screenshot 2024-02-18 043531

It gives an error to resolve the module with hosting the server in express instead of vite.js. With using import three or using cdn for the package doesn't solve the issue.

Screenshot 2024-02-15 154924
agviegas commented 7 months ago

Hi @denizcandemirli

We have officially released the new library components on September 20. This library substitutes web-ifc-three and web-ifc-viewer. Both WIV and WIT will remain up, but they will be deprecated and won't be maintained any longer. You can find the new docs here.

All our efforts are going towards components now. The API is very similar, so I strongly suggest you make the leap and start using it. If you still face this issue with it, you can open an issue there and we'll take a look.