<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Validation error, cannot save post.&quot;, &quot;context&quot;: &quot;Failed to convert HTML to Mobiledoc The html-to-mobiledoc package was not installed]]></title><description><![CDATA[<p dir="auto">Since recent update, I can't any more create new posts from HTML with API.</p>
<p dir="auto">Did something change in the package ?</p>
<p dir="auto"><img src="/assets/uploads/files/1741274278744-digi-studio-2025-03-06-at-16.16.14-resized.png" alt="digi-studio 2025-03-06 at 16.16.14.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/topic/13394/validation-error-cannot-save-post.-context-failed-to-convert-html-to-mobiledoc-the-html-to-mobiledoc-package-was-not-installed</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Jul 2026 07:43:17 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/13394.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 06 Mar 2025 15:18:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Validation error, cannot save post.&quot;, &quot;context&quot;: &quot;Failed to convert HTML to Mobiledoc The html-to-mobiledoc package was not installed on Fri, 07 Mar 2025 08:40:18 GMT]]></title><description><![CDATA[<p dir="auto">Right.. with node 22 it does not load</p>
<pre><code>root@168af0b1-79ac-45e0-84ed-54d64b54cfcf:/home/cloudron/ghost/versions/5.110.4# node
Welcome to Node.js v22.14.0.
Type ".help" for more information.
&gt; 
Error: Could not open history file.
REPL session history will not be persisted.
&gt; require('@tryghost/html-to-mobiledoc')
Uncaught Error: Cannot find module '@tryghost/kg-parser-plugins'
Require stack:
- /home/cloudron/ghost/versions/5.110.4/node_modules/@tryghost/html-to-mobiledoc/lib/converter.js
- /home/cloudron/ghost/versions/5.110.4/node_modules/@tryghost/html-to-mobiledoc/index.js
- &lt;repl&gt;
    at Function._resolveFilename (node:internal/modules/cjs/loader:1225:15)
    at Function._load (node:internal/modules/cjs/loader:1055:27)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:220:24)
    at Module.require (node:internal/modules/cjs/loader:1311:12)
    at require (node:internal/modules/helpers:136:16)
    at Object.&lt;anonymous&gt; (/home/cloudron/ghost/versions/5.110.4/node_modules/@tryghost/html-to-mobiledoc/lib/converter.js:4:31)
    at Module._compile (node:internal/modules/cjs/loader:1554:14)
    at Object..js (node:internal/modules/cjs/loader:1706:10) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/cloudron/ghost/versions/5.110.4/node_modules/@tryghost/html-to-mobiledoc/lib/converter.js',
    '/home/cloudron/ghost/versions/5.110.4/node_modules/@tryghost/html-to-mobiledoc/index.js',
    '&lt;repl&gt;'
  ]
}
</code></pre>
<p dir="auto">With node 20, it works fine:</p>
<pre><code>root@718c9254-490c-4da1-8479-d7977bc2217b:/home/cloudron/ghost/versions/5.110.4# node
Welcome to Node.js v20.18.3.
Type ".help" for more information.
&gt; 
Error: Could not open history file.
REPL session history will not be persisted.
&gt; require('@tryghost/html-to-mobiledoc')
{ toMobiledoc: [Function (anonymous)] }
</code></pre>
<p dir="auto">Will pin node in the ghost package - <a href="https://git.cloudron.io/packages/ghost-app/-/merge_requests/47" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/packages/ghost-app/-/merge_requests/47</a></p>
]]></description><link>https://forum.cloudron.io/post/102757</link><guid isPermaLink="true">https://forum.cloudron.io/post/102757</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 07 Mar 2025 08:40:18 GMT</pubDate></item><item><title><![CDATA[Reply to Validation error, cannot save post.&quot;, &quot;context&quot;: &quot;Failed to convert HTML to Mobiledoc The html-to-mobiledoc package was not installed on Fri, 07 Mar 2025 08:15:00 GMT]]></title><description><![CDATA[<p dir="auto">Seems the error comes from <a href="https://github.com/TryGhost/Ghost/blob/9150e6776a2fdf7cdd3ad6322840fa13297a4ad0/ghost/core/core/server/lib/mobiledoc.js#L80" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/TryGhost/Ghost/blob/9150e6776a2fdf7cdd3ad6322840fa13297a4ad0/ghost/core/core/server/lib/mobiledoc.js#L80</a> . Nothing has changed in package itself. Checking...</p>
]]></description><link>https://forum.cloudron.io/post/102756</link><guid isPermaLink="true">https://forum.cloudron.io/post/102756</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 07 Mar 2025 08:15:00 GMT</pubDate></item></channel></rss>