feat: @y/prosemirror v2 + @y/y v14 integration #7860
build.yml
on: pull_request
Playwright Build
2m 12s
Build
3m 18s
Matrix: playwright
Merge Playwright Reports
45s
Annotations
3 errors and 6 notices
|
Build
Process completed with exit code 1.
|
|
src/unit/nextjs/serverUtil.test.ts > server-util in Next.js App Router (#942) [dev] > Editor page with shared schema renders without errors:
tests/src/unit/nextjs/serverUtil.test.ts#L190
Error: Editor page returned 500: ./tests/nextjs-test-app/node_modules/@y/prosemirror/src/plugins/sync-plugin.js:14:1
Export Text doesn't exist in target module
12 | import * as error from 'lib0/error'
13 | import { ySyncPluginKey, yUndoPluginKey } from './keys.js'
> 14 | import * as Y from '@y/y'
| ^^^^^^^^^^^^^^^^^^^^^^^^^
15 | import {
16 | absolutePositionToRelativePosition,
17 | relativePositionToAbsolutePosition
The export Text was not found in module [project]/tests/nextjs-test-app/node_modules/@y/y/src/index.js [app-client] (ecmascript).
Did you mean to import cleanupYTextFormatting?
All exports of the module are statically known (It doesn't have dynamic exports). So it's known statically that the requested export doesn't exist.
Import trace:
Client Component Browser:
./tests/nextjs-test-app/node_modules/@y/prosemirror/src/plugins/sync-plugin.js [Client Component Browser]
./tests/nextjs-test-app/node_modules/@y/prosemirror/src/y-prosemirror.js [Client Component Browser]
./tests/nextjs-test-app/node_modules/@blocknote/core/dist/y.js [Client Component Browser]
./tests/nextjs-test-app/node_modules/@blocknote/react/dist/blocknote-react.js [Client Component Browser]
./tests/nextjs-test-app/app/shared-schema.tsx [Client Component Browser]
./tests/nextjs-test-app/app/editor/Editor.tsx [Client Component Browser]
./tests/nextjs-test-app/app/editor/page.tsx [Client Component Browser]
./tests/nextjs-test-app/app/editor/page.tsx [Server Component]
Server stdout:
▲ Next.js 16.2.6 (Turbopack)
- Local: http://localhost:3900
- Network: http://10.1.0.225:3900
✓ Ready in 371ms
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry
GET /api/server-util 500 in 1814ms (next.js: 1711ms, application-code: 103ms)
○ Compiling /editor ...
GET /editor 500 in 3.7s (next.js: 3.6s, application-code: 20ms)
Server stderr:
.js [app-client] (ecmascript).
Did you mean to import typeMapGetSnapshot?
All exports of the module are statically known (It doesn't have dynamic exports). So it's known statically that the requested export doesn't exist.
Import trace:
Client Component Browser:
./tests/nextjs-test-app/node_modules/@y/prosemirror/src/plugins/sync-plugin.js [Client Component Browser]
./tests/nextjs-test-app/node_modules/@y/prosemirror/src/y-prosemirror.js [Client Component Browser]
./tests/nextjs-test-app/node_modules/@blocknote/core/dist/y.js [Client Component Browser]
./tests/nextjs-test-app/node_modules/@blocknote/react/dist/blocknote-react.js [Client Component Browser]
./tests/nextjs-test-app/app/shared-schema.tsx [Client Component Browser]
./tests/nextjs-test-app/app/editor/Editor.tsx [Client Component Browser]
./tests/nextjs-test-app/app/editor/page.tsx [Client Component Browser]
./tests/nextjs-test-app/app/editor/page.tsx [Server Component]
❯ src/unit/nextjs/serverUtil.test.ts:190:13
|
|
src/unit/nextjs/serverUtil.test.ts > server-util in Next.js App Router (#942) [dev] > ServerBlockNoteEditor works in API route (mirrors ReactServer.test.tsx):
tests/src/unit/nextjs/serverUtil.test.ts#L149
Error: Failed to load external module @blocknote/server-util-75e92fb5494c0070: Error: request for './defaultCommentEditorSchema-BWkUaI17.js' is not in cache
❯ src/unit/nextjs/serverUtil.test.ts:149:13
|
|
🎭 Playwright Run Summary
43 passed (1.0m)
|
|
🎭 Playwright Run Summary
1 skipped
42 passed (44.1s)
|
|
🎭 Playwright Run Summary
2 skipped
92 passed (1.3m)
|
|
🎭 Playwright Run Summary
43 passed (32.5s)
|
|
🎭 Playwright Run Summary
16 skipped
78 passed (1.5m)
|
|
🎭 Playwright Run Summary
12 skipped
82 passed (1.9m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-report-chromium-1
Expired
|
127 KB |
sha256:cf1d3a171af295073490dbbdb731fff1e7fac8bdb799f6a25237b54e838db444
|
|
|
blob-report-chromium-2
Expired
|
52.4 KB |
sha256:7a8f90e82e194a07747dc49be52fcc398219ce74bb3c3423bad551bd4fbf3b2c
|
|
|
blob-report-firefox-1
Expired
|
113 KB |
sha256:00f7aa0c7a93a44423f05e088b81d7c0a47877de62aa0466c3e0260ed6bc9d3e
|
|
|
blob-report-firefox-2
Expired
|
52.2 KB |
sha256:6a231c19945e8e3a5ad81adfcaf4d2b504b4822779691d2c0bc86ebf389ace92
|
|
|
blob-report-webkit-1
Expired
|
120 KB |
sha256:5de7e433cdbaf9a42f27e3671108cea8e3103ff44513d2d58867001c02f27fdd
|
|
|
blob-report-webkit-2
Expired
|
53 KB |
sha256:a41cb7a53106d66a28b9fe1836a1f86181a367b373746d8e9e6e2e6043bcfb0a
|
|
|
playwright-build
Expired
|
21.5 MB |
sha256:e1d072b22ab27a0bf17eea5b17e083f087c6b27307965d7c380cce46c74cc66a
|
|
|
playwright-report-chromium-1
Expired
|
261 KB |
sha256:f9e9c8d9faa9bbbe21ef493f5974fca2d0eb2554aa466ad4ae440d3bcce2c036
|
|
|
playwright-report-chromium-2
Expired
|
209 KB |
sha256:5c1fe994c5ac504c686ca8bdda3d20a063a1e4b867c5d9797434183a6b492f29
|
|
|
playwright-report-firefox-1
Expired
|
250 KB |
sha256:359ef79ac5472e4acdedd4aeef59e037b1dadfb77451ebe14bbca840f49f4a06
|
|
|
playwright-report-firefox-2
Expired
|
209 KB |
sha256:61a6ceecfda2b730ea2c988739074d625ff7681e38f7e4662fffa42c28714ea8
|
|
|
playwright-report-merged
Expired
|
333 KB |
sha256:400d88261e20ec92e44523c9d173655f767fd69be36e12591000bb0fded70826
|
|
|
playwright-report-webkit-1
Expired
|
256 KB |
sha256:e551aa175344fe48ba86369c168e8e9f54b1ef7f91351e1af494e49a84043c09
|
|
|
playwright-report-webkit-2
Expired
|
210 KB |
sha256:23d5f008c6e48a377f46eac73f3854507bacf6c504f21db4bfae69bc721e3a42
|
|