Comments (4)
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.
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.
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.
This should be already solved. Let me know if you face more issues!
from web-ifc-three.
Related Issues (20)
- Support for GetHeaderLine from `web-ifc` HOT 1
- https://ifcjs.io/ HOT 3
- Error on web-ifc-three instalation in a Next.js app HOT 5
- IFCWorker.js.15776 report an error HOT 3
- RuntimeError: abort(LinkError: WebAssembly.instantiate(): HOT 3
- SyntaxError: Cannot use import statement outside a module HOT 1
- Lifecycle script `build` failed with error: Error: command failed in workspace: [email protected] HOT 2
- Error loading IFC wasmModule.OpenModel is not a function HOT 9
- bump three.js version to 152.1 HOT 1
- Can't get TypeName with IFCWorker
- Load a local ifc file, but nothing shows on the website HOT 1
- Can't hide/show only one type of object
- non-empty segments in IFCINDEXEDPOLYCURVE currently not supported HOT 3
- Error: 'package.json' is not defiend by "exports" HOT 1
- No basis found for brep!
- Cant load a IFC File HOT 1
- THREE.WebGLRenderer: Error creating WebGL context.
- error with ifcloader
- I would like to see the latest version released to support the latest web-ifc
- Very simple code with react fiber HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web-ifc-three.