Uncaught TypeError: Cannot read property 'readViews' of undefined, In List item page
See original GitHub issueIn Admin Ui single item screen. This error appeared to me.
dependencies:
{
"@apollo/react-hooks": "^3.1.3",
"@keystonejs/adapter-mongoose": "^8.0.1",
"@keystonejs/apollo-helpers": "^5.0.6",
"@keystonejs/app-admin-ui": "^5.12.0",
"@keystonejs/app-graphql": "^5.0.1",
"@keystonejs/app-next": "^5.0.2",
"@keystonejs/app-static": "^5.1.2",
"@keystonejs/auth-password": "^5.0.1",
"@keystonejs/fields": "^9.0.5",
"@keystonejs/fields-wysiwyg-tinymce": "^5.2.3",
"@keystonejs/file-adapters": "^6.0.2",
"@keystonejs/keystone": "^8.1.4",
"@zeit/next-css": "^1.0.1",
"apollo-boost": "^0.4.7",
"aws-sdk": "^2.615.0",
"bootstrap": "^4.4.1",
"connect-mongo": "^3.2.0",
"cross-env": "^7.0.2",
"express-session": "^1.17.0",
"graphql": "^14.6.0",
"graphql-tag": "^2.10.3",
"moment": "^2.24.0",
"mongoose": "^5.9.3",
"next": "^9.2.1",
"node-fetch": "^2.6.0",
"path": "^0.12.7",
"react": "^16.12.0",
"react-apollo": "^3.1.5",
"react-dom": "^16.12.0",
"react-select": "^3.1.0",
"recharts": "^1.8.5",
"styled-components": "^5.1.1",
"url-join": "^4.0.1"
}
this happens to all lists that have a field of type Wysiwyg
.
App crashed and white screen appeared.
terminal error from nextjs once visiting this screen event - build page: /next/dist/pages/_error
and this is a warning appeared while starting the server ExperimentalWarning: The fs.promises API is experimental
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
TypeError: Cannot read property 'item_name' of undefined
slice() , this fixes the error which is occuring on the addItem() method. As there is no attribute as value for the class...
Read more >How to Fix TypeError: Cannot read Property 'push' of ...
You call the method on a variable previously set to undefined . You call the method on a variable before it has been...
Read more >How to Prevent the TypeError: Cannot Read Property Map of ...
A guide on the root cause of 'cannot read map of undefined' as well as techniques and tools to prevent this error.
Read more >How to Read React Errors (fix 'Cannot read property of ...
Got an error like this in your React component? Cannot read property `map` of undefined. In this post we'll talk about how to...
Read more >apex - cannot read properties from undefined in inner object
The js throws error "cannot read property name, of undefined". The apex method that fetches the items is AuraEnabled(cacheable=true) and I ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+1 Having the same issue with Wysiwig fields, even without any editorConfig Also happening for:
Thank you @HailZetta the version I had was
@keystonejs/fields-wysiwyg-tinymce@5.2.3
I upgraded to5.2.5
and fortunately it worked.