Giter Club home page Giter Club logo

Comments (4)

agviegas avatar agviegas commented on May 29, 2024

Hi, glad to hear that you want to help! 🎉 I suspect your errors are because you are trying to use npm rather than yarn, which is what we use in the project!

from web-ifc-three.

TiberioG avatar TiberioG commented on May 29, 2024

I am running yarn as well
compiled with TS 4.4.3 and had to fix this this

[!] (plugin rpt2) Error: /Users/tiberio/Dev/web-ifc-three/web-ifc-three/src/IFCLoader.ts(36,33): semantic error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'ErrorEvent'.
then after just ignoring it compiled but building I get this when doing yarn build on top level
[!] Error: 'IFCManager' is not exported by src/IFC/components/IFCManager.js, imported by src/IFCLoader.ts
and this when yarn build-worker
[!] Error: 'Serializer' is not exported by src/IFC/web-workers/serializer/Serializer.js, imported by src/IFC/web-workers/IFCWorker.ts
I am new to rollup cuae I usually develop with default webpack + recat, but after studying a bit Itried to use the commonjs plugin wich fixed the two errors above but broke the imports with three

[!] Error: 'default' is not exported by ../node_modules/three/build/three.module.js, imported by ../web-ifc-three/dist/IFCLoader.js https://rollupjs.org/guide/en/#error-name-is-not-exported-by-module ../web-ifc-three/dist/IFCLoader.js (2:7) 1: import require$$2 from 'web-ifc'; 2: import require$$0, { Loader, FileLoader } from 'three';

so I have no idea how to fix those

from web-ifc-three.

agviegas avatar agviegas commented on May 29, 2024

Fixed it, try it now. This is super strange, I haven't touched that file in more than a month and never encountered that problem. Anyway, right now it should work right away with yarn install and yarn build (in the root of the repo).

from web-ifc-three.

agviegas avatar agviegas commented on May 29, 2024

This should be already solved. Let me know if you face more issues!

from web-ifc-three.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.