#error: process.binding("fs") is not implemented in Bun.

1 messages · Page 1 of 1 (latest)

mint oar
#
bun add @tensorflow/tfjs-node
bun add v1.1.3 (2615dc74)
  ⚙️  @tensorflow/tfjs-node [1/1] 2 | const MiniPass = require('minipass')
3 | const EE = require('events').EventEmitter
4 | const fs = require('fs')
5 |
6 | // for writev
7 | const binding = process.binding('fs')
                    ^
error: process.binding("fs") is not implemented in Bun. Track the status & thumbs up the issue: https://github.com/oven-sh/bun/issues/3546
      at /home/jasper/Dev/TypeScript/ml/node_modules/fs-minipass/index.js:7:17
      at /home/jasper/Dev/TypeScript/ml/node_modules/tar/lib/create.js:8:7
      at /home/jasper/Dev/TypeScript/ml/node_modules/tar/index.js:4:21
      at /home/jasper/Dev/TypeScript/ml/node_modules/@tensorflow/tfjs-node/scripts/resources.js:25:7
      at /home/jasper/Dev/TypeScript/ml/node_modules/@tensorflow/tfjs-node/scripts/install.js:37:7

error: install script from "@tensorflow/tfjs-node" exited with 1
#

I'm sure that this was working fine before the bun 1.1 upgrade

hazy mulch
#

tfjs definitely was