Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.
This repository was archived by the owner on May 29, 2025. It is now read-only.

Parrot Devtools crashes when selecting scenario while using One App #99

@amexjake

Description

@amexjake

When using parrot-graphql on a One App module, selecting the scenario crashed my One App server with the below error. Let me know if you need any other info.

When the server restarted, it was using my scenario without issues.

TypeError: Cannot read property 'length' of undefined
    at matchMock (/opt/module-workspace/module/node_modules/parrot-core/lib/utils/matchMock.js:56:37)
    at _callee$ (/opt/module-workspace/module/node_modules/parrot-core/lib/Parrot.js:90:41)
    at tryCatch (/opt/module-workspace/module/node_modules/regenerator-runtime/runtime.js:63:40)
    at Generator.invoke [as _invoke] (/opt/module-workspace/module/node_modules/regenerator-runtime/runtime.js:293:22)
    at Generator.next (/opt/module-workspace/module/node_modules/regenerator-runtime/runtime.js:118:21)
    at asyncGeneratorStep (/opt/module-workspace/module/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
    at _next (/opt/module-workspace/module/node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
    at /opt/module-workspace/module/node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
    at new Promise (<anonymous>)
    at /opt/module-workspace/module/node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions