Closed nerdess closed 11 months ago
Fixed it by also linking react and react-dom:
on local field editor:
cd /field-editors/node_modules/react
yarn link
cd /field-editors/node_modules/react-dom
yarn link
on my contentful app:
yarn link react
yarn link react-dom
1) I checked out and installed this repo locally
2) I followed this instruction: https://github.com/contentful/field-editors/blob/master/CONTRIBUTING.md#integration-to-contentful-web-application (instead of
cd packages/single-line
I didcd packages/references
and instead ofyarn link '@contentful/field-editor-single-line'
I didyarn link "@contentful/field-editor-reference"
)But in my Contentful app I get the errors
and
What am I doing wrong?