{"id":6157,"date":"2025-10-17T12:24:05","date_gmt":"2025-10-17T12:24:05","guid":{"rendered":"https:\/\/www.hostinger.com\/support\/?p=6157"},"modified":"2026-03-05T16:43:02","modified_gmt":"2026-03-05T16:43:02","slug":"the-specified-package-could-not-be-loaded-when-using-n8n-community-nodes","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/the-specified-package-could-not-be-loaded-when-using-n8n-community-nodes\/","title":{"rendered":"\u201cThe specified package could not be loaded\u201d when using n8n community nodes"},"content":{"rendered":"<p data-start=\"317\" data-end=\"574\">After restarting <strong data-start=\"334\" data-end=\"341\">n8n<\/strong>, users may see an error message when loading certain community nodes (for example, <code data-start=\"425\" data-end=\"450\">n8n-nodes-hostinger-api<\/code>).<br data-start=\"452\" data-end=\"455\">This issue usually happens when leftover files in the n8n node directory prevent modules from being reloaded correctly.<\/p><p data-start=\"775\" data-end=\"837\">You might see this error message in the n8n logs or dashboard:<\/p><div class=\"contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary\">\n<div class=\"sticky top-9\">\n<div class=\"absolute end-0 bottom-0 flex h-9 items-center pe-2\">\n<div class=\"bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs\"><\/div>\n<\/div>\n<\/div>\n<blockquote>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"whitespace-pre!\"><span class=\"hljs-keyword\">Error<\/span> loading package <span class=\"hljs-string\">\"n8n-nodes-hostinger-api\"<\/span>: The specified package could <span class=\"hljs-built_in\">not<\/span> be loaded. <span class=\"hljs-symbol\">Cause:<\/span> <span class=\"hljs-keyword\">Class<\/span> could <span class=\"hljs-built_in\">not<\/span> be found. Please check <span class=\"hljs-keyword\">if<\/span> the <span class=\"hljs-keyword\">class<\/span> <span class=\"hljs-built_in\">is<\/span> named correctly.<\/code><\/div>\n<\/blockquote>\n<\/div><h3 data-start=\"1023\" data-end=\"1037\">Root Cause<\/h3><p data-start=\"1038\" data-end=\"1283\">This happens when <strong data-start=\"1056\" data-end=\"1078\">stale dependencies<\/strong> (for example, <code data-start=\"1093\" data-end=\"1107\">package.json<\/code> or <code data-start=\"1111\" data-end=\"1125\">node_modules<\/code>) remain inside <strong><code data-start=\"1141\" data-end=\"1164\">\/home\/node\/.n8n\/nodes<\/code><\/strong> after a reinstall or node update.<br data-start=\"1198\" data-end=\"1201\">These leftover files can prevent n8n from properly loading community node classes.<\/p><h3 data-start=\"1290\" data-end=\"1308\">Solution<\/h3><p data-start=\"1740\" data-end=\"1830\">You can fix the issue with <strong data-start=\"1767\" data-end=\"1787\">a single command<\/strong>.<\/p><ol data-start=\"1832\" data-end=\"2141\">\n<li data-start=\"1832\" data-end=\"1971\">\n<p data-start=\"1835\" data-end=\"1852\">Run this command:<\/p>\n<div class=\"contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary\">\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"whitespace-pre! language-bash\">docker <span class=\"hljs-built_in\">exec<\/span> -it root-n8n-1 sh -c <span class=\"hljs-string\">\"cd \/home\/node\/.n8n\/nodes &amp;&amp; rm -rf package.json node_modules\"<\/span><\/code><\/div>\n<\/div>\n<\/li>\n<li data-start=\"1973\" data-end=\"2045\">\n<p data-start=\"1976\" data-end=\"1998\">Restart the container:<\/p>\n<div class=\"contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary\">\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"whitespace-pre! language-bash\">docker restart root-n8n-1<\/code><\/div>\n<\/div>\n<\/li>\n<li data-start=\"2047\" data-end=\"2141\">\n<p data-start=\"2050\" data-end=\"2141\">Reinstall the desired node (for example, <code data-start=\"2091\" data-end=\"2116\">n8n-nodes-hostinger-api<\/code>) from the n8n UI or CLI.<\/p>\n<\/li>\n<\/ol><h3 data-start=\"2148\" data-end=\"2168\">Additional Notes<\/h3><ul data-start=\"2169\" data-end=\"2447\">\n<li data-start=\"2169\" data-end=\"2276\">\n<p data-start=\"2171\" data-end=\"2276\">The issue can also occur after uninstalling or updating other nodes (for example, <code data-start=\"2253\" data-end=\"2274\">n8n-nodes-puppeteer<\/code>).<\/p>\n<\/li>\n<li data-start=\"2277\" data-end=\"2350\">\n<p data-start=\"2279\" data-end=\"2350\">Always restart n8n after modifying anything in <strong><code data-start=\"2326\" data-end=\"2349\">\/home\/node\/.n8n\/nodes<\/code><\/strong>.<\/p>\n<\/li>\n<li data-start=\"2351\" data-end=\"2447\">\n<p data-start=\"2353\" data-end=\"2447\">Removing the <code data-start=\"2366\" data-end=\"2380\">package.json<\/code> and <code data-start=\"2385\" data-end=\"2399\">node_modules<\/code> ensures n8n rebuilds dependencies from scratch.<\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>After restarting n8n, users may see an error message when loading certain community nodes (for example, n8n-nodes-hostinger-api).This issue usually happens when leftover files in the&#8230;<\/p>\n","protected":false},"author":568,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[199],"tags":[],"class_list":["post-6157","post","type-post","status-publish","format-standard","hentry","category-vps-management"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/the-specified-package-could-not-be-loaded-when-using-n8n-community-nodes","default":1}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/6157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/568"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=6157"}],"version-history":[{"count":6,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/6157\/revisions"}],"predecessor-version":[{"id":6221,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/6157\/revisions\/6221"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=6157"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=6157"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=6157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}