Closed Calvin66 closed 3 years ago
Hey @Calvin66 , thanks for reporting this. Can you please let me know your environment?
Docker for Windows
@Calvin66 Thanks. I meant node and npm version, base image, etc. What is your use case, how do you add your files to the container?
root@85baf9147ab7:/data# gltf2xkt -s scene.gltf -o scene.xkt
Reading glTF file: scene.gltf Converting to XKT format: 3 Something went wrong: TypeError: Cannot read property 'readFile' of undefined at main (/usr/local/lib/node_modules/@xeokit/xeokit-gltf-to-xkt/gltf2xkt.js:74:34) at Object. (/usr/local/lib/node_modules/@xeokit/xeokit-gltf-to-xkt/gltf2xkt.js:79:1)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3