Skip to content

Fix for Node v22.8.0 #836

Open
Open
@weagle08

Description

@weagle08

What is wrong?

I'm attempting to update packages to the latest as install failes for newer versions of Node (v22.8.0). However when I update all dependencies and run yarn make I get the build failure in the image. I'm not familiar enough with the build process to know what the error means. If someone could point me in the right direction I can get a PR in after all tests pass.

Where does it happen?

The gl library needs to be updated to latest. I've attempted to do the full chain with gpu-mock.js and this so I can update brain.js, but fail with the attached error.

How do we replicate the issue?

Update all dependencies and dev dependencies to latest. Then run yarn make while on Node v22.8.0 on Linux.
I have an updated fork here:
gpu.js fork

How important is this (1-5)?

5, it completely breaks useage of this library on newer versions of Node.

Expected behavior (i.e. solution)

npm install, npm run build, npm run test all succeed.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions