I tried to use the cli to slice a file but got an error that the file three-bgu.js is missing. The file is not present although I already ran npm install. Here is my command, where I tried to slice a file 'test.stl' using the examples given in the cli folder, and the output:
Error: ENOENT: no such file or directory, open '/home/tgrunemann/grid-apps/src/ext/three-bgu.js'
at Object.openSync (node:fs:573:18)
at Object.readFileSync (node:fs:452:35)
at run (/home/tgrunemann/grid-apps/src/kiri-run/cli.js:156:21)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/home/tgrunemann/grid-apps/src/ext/three-bgu.js'
}
Hello,
I tried to use the cli to slice a file but got an error that the file three-bgu.js is missing. The file is not present although I already ran npm install. Here is my command, where I tried to slice a file 'test.stl' using the examples given in the cli folder, and the output:
(base) tgrunemann@Ubuntu20KlebeDB:~/grid-apps$ node src/kiri-run/cli --model=./t.stl --device=src/cli/kiri-fdm-device.json --process=src/cli/kiri-fdm-process.json --controller=src/cli/kiri-controller.json --output=./t.gcode --verbose { fetch: 'src/cli/kiri-source.json' } { fetch: 'src/cli/kiri-cam-tools.json' } { fetch: 'src/cli/kiri-fdm-device.json' } { fetch: 'src/cli/kiri-fdm-process.json' } loading ... /home/tgrunemann/grid-apps/src/main/gapp.js loading ... /home/tgrunemann/grid-apps/src/moto/broker.js loading ... /home/tgrunemann/grid-apps/src/moto/license.js loading ... /home/tgrunemann/grid-apps/src/add/array.js loading ... /home/tgrunemann/grid-apps/src/add/class.js loading ... /home/tgrunemann/grid-apps/src/ext/three.js loading ... /home/tgrunemann/grid-apps/src/ext/three-bgu.js node:fs:573 return binding.open( ^
Error: ENOENT: no such file or directory, open '/home/tgrunemann/grid-apps/src/ext/three-bgu.js' at Object.openSync (node:fs:573:18) at Object.readFileSync (node:fs:452:35) at run (/home/tgrunemann/grid-apps/src/kiri-run/cli.js:156:21) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/tgrunemann/grid-apps/src/ext/three-bgu.js' }
Can anybody help me?
Best regards
Timo