Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用 @antv/g-plugin-yoga,出现:Uncaught ReferenceError: _a is not defined at nbind.js:1146:62 #1668

Open
cwwjsyc opened this issue Apr 23, 2024 · 1 comment
Assignees

Comments

@cwwjsyc
Copy link

cwwjsyc commented Apr 23, 2024

`import { Canvas, Group, Rect, Text } from '@antv/g';
import { Renderer } from '@antv/g-canvas';
import { Plugin } from '@antv/g-plugin-yoga';

const renderer = new Renderer();
renderer.registerPlugin(new Plugin());
`
出现 报错:

Uncaught ReferenceError: _a is not defined
at nbind.js:1146:62
at nbind.js:1590:3
at node_modules/yoga-layout-prebuilt/yoga-layout/dist/entry-browser.js (entry-browser.js:21:1)
at __require2 (chunk-3EJPJMEH.js?v=136e61d1:15:50)
at entry-browser.js:40:40

@xiaoiver xiaoiver self-assigned this May 29, 2024
@xiaoiver
Copy link
Contributor

方便的话可以提供更多信息,例如使用的构建工具,看起来像是 vite?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants