Comments (3)
FYI the *Node must/should implement
warnings are from the underlying Lexical framework that our editor is built on. They occur because it contains some basic checks that don't account for our use of class inheritance so are just noise.
They aren't errors and don't affect the import process, they also only occur when Ghost is run in development/against a development build of Koenig so shouldn't appear anywhere on a production site.
from ghost.
I can replicate the error log in a different way (came here to open another issue, but saw this). I initially thought this had something to do with a modified core I am running, yet even a "minimal" installation returns the error.
Here are my steps to end up with a similar error log:
cd
into an empty directory- Run
ghost install --local --no-start
– this successfully installs Ghost v5.79.5 (as of today) without errors - Run
ghost run -D -V
for verbose error output - Open Ghost on
http://localhost:2368/ghost
(no errors) - Create new Ghost blog using the setup screen (no errors, apart from the expected failed email due to missing mail configuration)
- Go to posts (no errors)
- Create new posts (no errors)
- Enter heading of new posts (no errors)
- Enter post content
When entering post content, the following logs appear:
[2024-02-26 16:53:27] INFO "GET /ghost/api/admin/posts/?formats=mobiledoc%2Clexical&limit=30&page=1&filter=status%3A%5Bdraft%2Cscheduled%2Cpublished%2Csent%5D" 200 91ms
[2024-02-26 16:53:27] INFO "GET /ghost/api/admin/tags/?limit=all" 200 42ms
[2024-02-26 16:53:27] INFO "GET /ghost/api/admin/users/?limit=all&include=roles" 200 31ms
[2024-02-26 16:53:28] INFO "GET /ghost/api/admin/snippets/?formats=mobiledoc%2Clexical&limit=all" 200 26ms
[2024-02-26 16:53:30] INFO "GET /ghost/api/admin/slugs/post/test/" 200 19ms
CodeBlockNode must implement static "getType" method
CodeBlockNode must implement static "clone" method
CodeBlockNode must implement "decorate" method
CodeBlockNode should implement "importJSON" method to ensure JSON and default HTML serialization works as expected
CodeBlockNode should implement "exportJSON" method to ensure JSON and default HTML serialization works as expected
ImageNode must implement static "getType" method
ImageNode must implement static "clone" method
ImageNode must implement "decorate" method
ImageNode should implement "importJSON" method to ensure JSON and default HTML serialization works as expected
MarkdownNode must implement static "getType" method
MarkdownNode must implement static "clone" method
MarkdownNode must implement "decorate" method
MarkdownNode should implement "importJSON" method to ensure JSON and default HTML serialization works as expected
MarkdownNode should implement "exportJSON" method to ensure JSON and default HTML serialization works as expected
VideoNode must implement static "getType" method
VideoNode must implement static "clone" method
VideoNode must implement "decorate" method
VideoNode should implement "importJSON" method to ensure JSON and default HTML serialization works as expected
AudioNode must implement static "getType" method
AudioNode must implement static "clone" method
AudioNode must implement "decorate" method
AudioNode should implement "importJSON" method to ensure JSON and default HTML serialization works as expected
AudioNode should implement "exportJSON" method to ensure JSON and default HTML serialization works as expected
CalloutNode must implement static "getType" method
CalloutNode must implement static "clone" method
CalloutNode must implement "decorate" method
CalloutNode should implement "importJSON" method to ensure JSON and default HTML serialization works as expected
CalloutNode should implement "exportJSON" method to ensure JSON and default HTML serialization works as expected
HorizontalRuleNode must implement static "getType" method
HorizontalRuleNode must implement static "clone" method
HorizontalRuleNode must implement "decorate" method
HorizontalRuleNode should implement "importJSON" method to ensure JSON and default HTML serialization works as expected
HorizontalRuleNode should implement "exportJSON" method to ensure JSON and default HTML serialization works as expected
HtmlNode must implement static "getType" method
HtmlNode must implement static "clone" method
HtmlNode must implement "decorate" method
HtmlNode should implement "importJSON" method to ensure JSON and default HTML serialization works as expected
HtmlNode should implement "exportJSON" method to ensure JSON and default HTML serialization works as expected
FileNode must implement static "getType" method
FileNode must implement static "clone" method
FileNode must implement "decorate" method
FileNode should implement "importJSON" method to ensure JSON and default HTML serialization works as expected
ToggleNode must implement static "getType" method
ToggleNode must implement static "clone" method
ToggleNode must implement "decorate" method
ToggleNode should implement "importJSON" method to ensure JSON and default HTML serialization works as expected
ToggleNode should implement "exportJSON" method to ensure JSON and default HTML serialization works as expected
ButtonNode must implement static "getType" method
ButtonNode must implement static "clone" method
ButtonNode must implement "decorate" method
ButtonNode should implement "importJSON" method to ensure JSON and default HTML serialization works as expected
ButtonNode should implement "exportJSON" method to ensure JSON and default HTML serialization works as expected
HeaderNode must implement static "getType" method
HeaderNode must implement static "clone" method
HeaderNode must implement "decorate" method
HeaderNode should implement "importJSON" method to ensure JSON and default HTML serialization works as expected
HeaderNode should implement "exportJSON" method to ensure JSON and default HTML serialization works as expected
BookmarkNode must implement static "getType" method
BookmarkNode must implement static "clone" method
BookmarkNode must implement "decorate" method
PaywallNode must implement static "getType" method
PaywallNode must implement static "clone" method
PaywallNode must implement "decorate" method
PaywallNode should implement "importJSON" method to ensure JSON and default HTML serialization works as expected
PaywallNode should implement "exportJSON" method to ensure JSON and default HTML serialization works as expected
ProductNode must implement static "getType" method
ProductNode must implement static "clone" method
ProductNode must implement "decorate" method
ProductNode should implement "importJSON" method to ensure JSON and default HTML serialization works as expected
EmbedNode must implement static "getType" method
EmbedNode must implement static "clone" method
EmbedNode must implement "decorate" method
EmbedNode should implement "importJSON" method to ensure JSON and default HTML serialization works as expected
EmbedNode should implement "exportJSON" method to ensure JSON and default HTML serialization works as expected
EmailNode must implement static "getType" method
EmailNode must implement static "clone" method
EmailNode must implement "decorate" method
EmailNode should implement "importJSON" method to ensure JSON and default HTML serialization works as expected
EmailNode should implement "exportJSON" method to ensure JSON and default HTML serialization works as expected
GalleryNode must implement static "getType" method
GalleryNode must implement static "clone" method
GalleryNode must implement "decorate" method
GalleryNode should implement "importJSON" method to ensure JSON and default HTML serialization works as expected
GalleryNode should implement "exportJSON" method to ensure JSON and default HTML serialization works as expected
EmailCtaNode must implement static "getType" method
EmailCtaNode must implement static "clone" method
EmailCtaNode must implement "decorate" method
EmailCtaNode should implement "importJSON" method to ensure JSON and default HTML serialization works as expected
EmailCtaNode should implement "exportJSON" method to ensure JSON and default HTML serialization works as expected
SignupNode must implement static "getType" method
SignupNode must implement static "clone" method
SignupNode must implement "decorate" method
SignupNode should implement "importJSON" method to ensure JSON and default HTML serialization works as expected
SignupNode should implement "exportJSON" method to ensure JSON and default HTML serialization works as expected
CollectionNode must implement static "getType" method
CollectionNode must implement static "clone" method
CollectionNode must implement "decorate" method
CollectionNode should implement "importJSON" method to ensure JSON and default HTML serialization works as expected
CollectionNode should implement "exportJSON" method to ensure JSON and default HTML serialization works as expected
from ghost.
Thanks for pointing that out! I can see the same thing when I start a brand new post, fill in a title, then focus in the empty post body area.
So it looks like these errors are not tied to exclusively to the import process. Good to know. But now to figure out why it's otherwise failing to import any posts and failing to log any explanation why.
from ghost.
Related Issues (20)
- Integrations - FirstPromoter always showing as "active" HOT 2
- Admin API - Create Paid Members support HOT 1
- Node Version Requirement Not Declared Fine Enough HOT 4
- Wrong DNS records shown HOT 1
- Error updating to Ghost 5.80 from 5.23, blog down, please help HOT 1
- Comments broken in latest release HOT 5
- Internal tags not all displayed in admin panel
- Korean Romanization is Wrong HOT 3
- Ghost cannot connect to Mysql AWS RDS instance with latest CA from AWS HOT 2
- Handlebars special partial "@partial-block" gets reported as unknown global HOT 1
- Vulnerability Report: Regular Expression Denial of Service (ReDoS) in moment.js HOT 1
- Plain text view HOT 3
- Installation on Windows Fails with "A SystemError occurred." (nodejs version mismatch) HOT 1
- Newlines not correctly handled in product card titles
- Support Bluesky oEmbed auto-discovery HOT 4
- Editor tooltip for text styling is not visible when using android mobile
- Outdated version of string-width is causing the Docker image entrypoint loading to fail. HOT 16
- Site version in API not showing patch HOT 2
- glibc-vulnerability cve-2024-2961 [BUG] HOT 2
- Visitors on iOS prompted to download empty "auth-frame" file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ghost.