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
I am currently attempting to run the latest Contentful forked field editor monorepo. Upon following the instructions provided in the README.md I receive the following error message "./node_modules/@contentful/field-editor-reference/dist/field-editor-reference.esm.js
Attempted import error: 'isValidImage' is not exported from '@contentful/field-editor-shared'".
Any help resolving this issue is greatly appreciated.
The text was updated successfully, but these errors were encountered:
In conjunction to my earlier reported issue, following both a yarn install and build the test data appeared to be outdated regarding the types found in the code.
Please see the following build errors:
@contentful/field-editor-test-utils:build: (typescript) Error: C:/Projects/custom-field-editors-master/custom-field-editors-master/packages/_test/src/createFakeFieldAPI.ts(21,19): semantic error TS2345: Argument of type '{ id: string; locale: string; type: string; validations: never[]; required: false; onValueChanged: (...args: [string, Function] | [Function]) => () => void; onIsDisabledChanged: (fn: Function) => () => void; ... 4 more ...; removeValue: () => Promise<...>; }' is not assignable to parameter of type 'FieldAPI'.
@contentful/field-editor-test-utils:build: Type '{ id: string; locale: string; type: string; validations: never[]; required: false; onValueChanged: (...args: [string, Function] | [Function]) => () => void; onIsDisabledChanged: (fn: Function) => () => void; ... 4 more ...; removeValue: () => Promise<...>; }' is missing the following properties from type 'FieldAPI': getIsDisabled, getSchemaErrors
I am currently attempting to run the latest Contentful forked field editor monorepo. Upon following the instructions provided in the README.md I receive the following error message "./node_modules/@contentful/field-editor-reference/dist/field-editor-reference.esm.js
Attempted import error: 'isValidImage' is not exported from '@contentful/field-editor-shared'".
Any help resolving this issue is greatly appreciated.
The text was updated successfully, but these errors were encountered: