Closed rodebiet closed 7 years ago
@rodebiet it looks like you may be using a very old version of Node. obj2gltf requires a recent version of Node 4.x, 6.x, 8.x, all of which contain the Buffer.alloc
function.
$ node --version v4.2.6
Yes, that version does not have the required functionality. (It also has known security issues). You need to be running at least 4.5.0, but I highly recommend you switch to the latest 6.x, as 4.x will no longer be maintained by the Node Foundation starting in October.
$ node --version v6.11.0
it now works, this issue can be closed.
mramato, thank you very much for your very fast support!
$ npm run test
[14:45:34] Using gulpfile /disk/src/3d/obj2gltf/gulpfile.js [14:45:34] Starting 'test'... Started Jasmine started F createGltf ✗ simple gltf