You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. The issue provides a reproduction available on Github, Stackblitz or CodeSandbox
Make sure to fork this template and run yarn generate in the terminal.
Please make sure the GraphQL Tools package versions under package.json matches yours.
2. A failing test has been provided
3. A local solution has been provided
4. A pull request is pending review
Describe the bug
After upgrading from @graphql-tools/mock@9.0.0 to @graphql-tools/mock@9.0.1 my app builds are failing with:
error: panic: Internal error (while parsing "/srv/node_modules/@graphql-tools/mock/node_modules/@graphql-tools/utils/esm/debugTimer.js")
file: /srv/node_modules/@graphql-tools/mock/node_modules/@graphql-tools/utils/esm/debugTimer.js
=> Failed to build the preview
Error: Transform failed with 1 error:
error: panic: Internal error (while parsing "/srv/node_modules/@graphql-tools/mock/node_modules/@graphql-tools/utils/esm/debugTimer.js")
at failureErrorWithLog (/srv/node_modules/vite/node_modules/esbuild/lib/main.js:1650:15)
at /srv/node_modules/vite/node_modules/esbuild/lib/main.js:848:29
at responseCallbacks.<computed> (/srv/node_modules/vite/node_modules/esbuild/lib/main.js:703:9)
at handleIncomingPacket (/srv/node_modules/vite/node_modules/esbuild/lib/main.js:763:9)
at Socket.readFromStdout (/srv/node_modules/vite/node_modules/esbuild/lib/main.js:679:7)
at Socket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
Rolling back to 9.0.0 makes the issue go away.
To Reproduce Steps to reproduce the behavior:
Working on it...
Expected behavior
No crash.
Environment:
OS: MacOS
@graphql-tools/mock: 9.0.1
NodeJS: 20.3.1
Additional context
My app is Storybook, built via Vite.
The text was updated successfully, but these errors were encountered:
Issue workflow progress
Progress of the issue based on the
Contributor Workflow
Describe the bug
After upgrading from
@graphql-tools/mock@9.0.0
to@graphql-tools/mock@9.0.1
my app builds are failing with:Rolling back to 9.0.0 makes the issue go away.
To Reproduce Steps to reproduce the behavior:
Working on it...
Expected behavior
No crash.
Environment:
@graphql-tools/mock
: 9.0.1Additional context
My app is Storybook, built via Vite.
The text was updated successfully, but these errors were encountered: