Skip to content

tfjs-node always need to build from source #8603

@rg-engineering

Description

@rg-engineering

On my system:

Armbian Linux 6.12.50-current-rockchip64
v25.8 rolling for NanoPi R4S
Debian stable (bookworm)

node v22.21.1

I always have to call

npm rebuild @tensorflow/tfjs-node --build-from-source

after

npm i

Otherwise I get
"node_modules/@tensorflow/tfjs-node/lib/napi-v8/tfjs_binding.node: cannot open shared object file: No such file or directory"

Under this circumstance a production deployment is impossible...

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions