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
{
"detail": "",
"status": 500,
"title": "TypeError: e is not a function\n at maybe (/usr/local/lib/node_modules/@stoplight/prism-cli/node_modules/@faker-js/faker/dist/cjs/helpers.js:1:6335)\n at Object.<anonymous> (/usr/local/lib/node_modules/@stoplight/prism-cli/node_modules/json-schema-faker/dist/main.cjs:1321:21)\n at Object.value (/usr/local/lib/node_modules/@stoplight/prism-cli/node_modules/json-schema-faker/dist/main.cjs:1379:49)\n at /usr/local/lib/node_modules/@stoplight/prism-cli/node_modules/json-schema-faker/dist/main.cjs:2218:70\n at Object.typecast (/usr/local/lib/node_modules/@stoplight/prism-cli/node_modules/json-schema-faker/dist/main.cjs:1023:15)\n at traverse (/usr/local/lib/node_modules/@stoplight/prism-cli/node_modules/json-schema-faker/dist/main.cjs:2218:34)\n at /usr/local/lib/node_modules/@stoplight/prism-cli/node_modules/json-schema-faker/dist/main.cjs:2282:48\n at Array.forEach (<anonymous>)\n at traverse (/usr/local/lib/node_modules/@stoplight/prism-cli/node_modules/json-schema-faker/dist/main.cjs:2276:23)\n at Object.objectType [as object] (/usr/local/lib/node_modules/@stoplight/prism-cli/node_modules/json-schema-faker/dist/main.cjs:1920:18) in /properties/postaladdress",
"type": "https://stoplight.io/prism/errors#UNKNOWN"
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Related to #2056
How do I reference a callback function for fakerjs functions like helpers.maybe()?
I already tried the following but it throws an exception:
Exception:
Beta Was this translation helpful? Give feedback.
All reactions