面临与 rappid相同的错误。我尝试了建议的解决方案,但仍然面临同样的错误。
● Test suite failed to run
TypeError: Cannot read properties of undefined (reading 'prototype')
12 | or from the Rappid archive as was distributed by client IO. See the LICENSE file.*/
13 | /* eslint-disable */
> 14 | import { dia, shapes, ui } from '@clientio/rappid';
| ^
15 |
16 | import { enableVirtualRendering } from './features/virtual-rendering';
17 | import { toolbarConfig } from './config/toolbar.config';
at ../../node_modules/@clientio/rappid/rappid.js:4070:32
at ../../node_modules/@clientio/rappid/rappid.js:4613:3
at ../../node_modules/@clientio/rappid/rappid.js:2:65
有人可以帮我吗。为了纠正这一点,我缺少什么。