xeokit-convert icon indicating copy to clipboard operation
xeokit-convert copied to clipboard

Unable to run convert2xkt.js on Ubuntu

Open wojciechteclaw opened this issue 7 months ago • 0 comments

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?

wojciechteclaw avatar Jul 25 '24 12:07 wojciechteclaw