antvis / antvis/layout

Getting compile errors when running `npm test` using gpu package

Open
#249 0 comments 0 reactions 0 assignees View on GitHub
layout-gpu
Dominant language
TypeScript
Stars
276
Forks
60
PR merge metrics
No merged PRs in 30d

Description

When I install `layout-gpu` to use GPU accelerated algorithms, they run fine in my react app, but when I run a test command I get this error `Error: Cannot find module '@antv/layout@alpha'`.

Which is quite confusing? I can' t see a `layout@alpha` package anywhere. Also fine it works in react dev mode but not when the app runs `npm i` to test. Note I am using vite and typescript.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.