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

Unable to run convert2xkt.js on Ubuntu #166

Open
wojciechteclaw opened this issue Jul 25, 2024 · 0 comments
Open

Unable to run convert2xkt.js on Ubuntu #166

wojciechteclaw opened this issue Jul 25, 2024 · 0 comments

Comments

@wojciechteclaw
Copy link

Hi everyone,

I've tried to convert a simple IFC file to XKT format.

I followed the instruction and made following steps:

  • Installed Node in version v16.16.0
  • Ran npm i and I got following error:
    31 vulnerabilities (11 moderate, 19 high, 1 critical)

After running npm audit fix command nothing has changed.

Finally when calling node convert2xkt.js -h

I got such error:

/mnt/c/_PROGRAMOWANIE/xeokit-convert/dist/xeokit-convert.cjs.js:2 + <file content> 

TypeError: (0 , e.installFilePolyfills) is not a function
at /mnt/c/<my_path>/xeokit-convert/dist/xeokit-convert.cjs.js:2:162855
at /mnt/c/<my_path>/xeokit-convert/dist/xeokit-convert.cjs.js:2:162859
at /mnt/c/<my_path>/xeokit-convert/dist/xeokit-convert.cjs.js:2:162865
at /mnt/c/<my_path>/xeokit-convert/dist/xeokit-convert.cjs.js:2:81
at Object.<anonymous> (/mnt/c/<my_path>/xeokit-convert/dist/xeokit-convert.cjs.js:2:203)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)

How can I fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant