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
Looks like there is an issue with the Rich Text Editor. It's not rendering at all. Here is the error I am getting:
WARNING in ./node_modules/@contentful/rich-text-types/dist/blocks.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/hsheikhali/projects/contentful-dynamic-resources-editor/node_modules/@contentful/rich-text-types/src/blocks.ts' file: Error: ENOENT: no such file or directory, open '/Users/hsheikhali/projects/contentful-dynamic-resources-editor/node_modules/@contentful/rich-text-types/src/blocks.ts'
WARNING in ./node_modules/@contentful/rich-text-types/dist/emptyDocument.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/hsheikhali/projects/contentful-dynamic-resources-editor/node_modules/@contentful/rich-text-types/src/emptyDocument.ts' file: Error: ENOENT: no such file or directory, open '/Users/hsheikhali/projects/contentful-dynamic-resources-editor/node_modules/@contentful/rich-text-types/src/emptyDocument.ts'
WARNING in ./node_modules/@contentful/rich-text-types/dist/helpers.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/hsheikhali/projects/contentful-dynamic-resources-editor/node_modules/@contentful/rich-text-types/src/helpers.ts' file: Error: ENOENT: no such file or directory, open '/Users/hsheikhali/projects/contentful-dynamic-resources-editor/node_modules/@contentful/rich-text-types/src/helpers.ts'
WARNING in ./node_modules/@contentful/rich-text-types/dist/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/hsheikhali/projects/contentful-dynamic-resources-editor/node_modules/@contentful/rich-text-types/src/index.ts' file: Error: ENOENT: no such file or directory, open '/Users/hsheikhali/projects/contentful-dynamic-resources-editor/node_modules/@contentful/rich-text-types/src/index.ts'
WARNING in ./node_modules/@contentful/rich-text-types/dist/inlines.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/hsheikhali/projects/contentful-dynamic-resources-editor/node_modules/@contentful/rich-text-types/src/inlines.ts' file: Error: ENOENT: no such file or directory, open '/Users/hsheikhali/projects/contentful-dynamic-resources-editor/node_modules/@contentful/rich-text-types/src/inlines.ts'
WARNING in ./node_modules/@contentful/rich-text-types/dist/marks.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/hsheikhali/projects/contentful-dynamic-resources-editor/node_modules/@contentful/rich-text-types/src/marks.ts' file: Error: ENOENT: no such file or directory, open '/Users/hsheikhali/projects/contentful-dynamic-resources-editor/node_modules/@contentful/rich-text-types/src/marks.ts'
WARNING in ./node_modules/@contentful/rich-text-types/dist/nodeTypes.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/hsheikhali/projects/contentful-dynamic-resources-editor/node_modules/@contentful/rich-text-types/src/nodeTypes.ts' file: Error: ENOENT: no such file or directory, open '/Users/hsheikhali/projects/contentful-dynamic-resources-editor/node_modules/@contentful/rich-text-types/src/nodeTypes.ts'
WARNING in ./node_modules/@contentful/rich-text-types/dist/schemaConstraints.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/hsheikhali/projects/contentful-dynamic-resources-editor/node_modules/@contentful/rich-text-types/src/schemaConstraints.ts' file: Error: ENOENT: no such file or directory, open '/Users/hsheikhali/projects/contentful-dynamic-resources-editor/node_modules/@contentful/rich-text-types/src/schemaConstraints.ts'
WARNING in ./node_modules/@contentful/rich-text-types/dist/types.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/hsheikhali/projects/contentful-dynamic-resources-editor/node_modules/@contentful/rich-text-types/src/types.ts' file: Error: ENOENT: no such file or directory, open '/Users/hsheikhali/projects/contentful-dynamic-resources-editor/node_modules/@contentful/rich-text-types/src/types.ts
The text was updated successfully, but these errors were encountered:
I also encountered this error when following the video tutorial to create a new Contentful app and add the rich text editor.
Adding GENERATE_SOURCEMAP=false to the start task fixed it for me:
package.json:
"start": "cross-env BROWSER=none GENERATE_SOURCEMAP=false react-scripts start",
Looks like there is an issue with the Rich Text Editor. It's not rendering at all. Here is the error I am getting:
The text was updated successfully, but these errors were encountered: