The package tfjs-node is not working in version 26.8.1 of Node

Đang mở
#8,746 4 bình luận 1 reaction 1 người được giao Xem trên GitHub

@nileshau-afk đang làm issue này rồi.

Từ ngày 11/9/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

comp:node.js type:bug

The dependency tfjs-node is not compatible with the node version installed on my machine. I'm using it in a personal project

It's returning this error:

TypeError: (0 , util_1.isNullOrUndefined) is not a function
    at createTensorsTypeOpAttr (/home/lucas/Reconhecimento-Facial-Para-Escolas/backend/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@tensorflow/tfjs-node/dist/nodejs_kernel_backend.j
s:675:38)
    at NodeJSKernelBackend.executeSingleInput (/home/lucas/Reconhecimento-Facial-Para-Escolas/backend/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@tensorflow/tfjs-node/dist/nodejs_k
ernel_backend.js:205:24)
    at Object.kernelFunc (/home/lucas/Reconhecimento-Facial-Para-Escolas/backend/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@tensorflow/tfjs-node/dist/kernels/Abs.js:35:24)
    at kernelFunc (/home/lucas/Reconhecimento-Facial-Para-Escolas/backend/node_modules/.pnpm/@[email protected]/node_modules/@tensorflow/tfjs-core/dist/tf-core.node.js:4707:32)

I noticed that the issue #8609 has already described the same problem, and the pull request #8425 has fixed it. But there's no new releases after this. Will support for newer versions of Node be added soon or not?

I'm using version 26.8.1 of Node.

Ngôn ngữ chính
TypeScript
Star
19.2k
Fork
2k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của tensorflow/tfjs

Tất cả issue của tensorflow/tfjs

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.