n8n - 💡(How to fix) Fix cannot run dev server with npm run dev in custom node project [2 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
n8n-io/n8n#28539Fetched 2026-04-16 07:05:06
View on GitHub
Comments
2
Participants
3
Timeline
5
Reactions
0
Timeline (top)
commented ×2labeled ×1mentioned ×1subscribed ×1

Error Message

npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm. npm warn Unknown env config "npm-globalconfig". This will stop working in the next major version of npm. npm warn Unknown env config "_jsr-registry". This will stop working in the next major version of npm. npm warn ERESOLVE overriding peer dependency npm warn While resolving: @getzep/[email protected] npm warn Found: @langchain/[email protected] npm warn node_modules/@langchain/core npm warn @langchain/core@"1.1.34" from @n8n/[email protected] npm warn node_modules/@n8n/ai-utilities npm warn @n8n/ai-utilities@"0.10.0" from [email protected] npm warn node_modules/n8n npm warn 2 more (@n8n/ai-node-sdk, @n8n/n8n-nodes-langchain) npm warn 25 more (@n8n/ai-workflow-builder, @n8n/n8n-nodes-langchain, ...) npm warn npm warn Could not resolve dependency: npm warn peerOptional @langchain/core@"~0.1.29" from @getzep/[email protected] npm warn node_modules/@getzep/zep-cloud npm warn peerOptional @getzep/zep-cloud@"^1.0.6" from @langchain/[email protected] npm warn node_modules/@n8n/ai-utilities/node_modules/@langchain/community npm warn 2 more (@n8n/n8n-nodes-langchain, @langchain/community) npm warn npm warn Conflicting peer dependency: @langchain/[email protected] npm warn node_modules/@langchain/core npm warn peerOptional @langchain/core@"~0.1.29" from @getzep/[email protected] npm warn node_modules/@getzep/zep-cloud npm warn peerOptional @getzep/zep-cloud@"^1.0.6" from @langchain/[email protected] npm warn node_modules/@n8n/ai-utilities/node_modules/@langchain/community npm warn 2 more (@n8n/n8n-nodes-langchain, @langchain/community) npm warn ERESOLVE overriding peer dependency npm warn While resolving: @browserbasehq/[email protected] npm warn Found: [email protected] npm warn node_modules/@n8n/n8n-nodes-langchain/node_modules/openai npm warn openai@"^6.9.0" from @n8n/[email protected] npm warn node_modules/@n8n/n8n-nodes-langchain npm warn @n8n/n8n-nodes-langchain@"2.16.1" from [email protected] npm warn node_modules/n8n npm warn 1 more (@langchain/community) npm warn npm warn Could not resolve dependency: npm warn peer openai@"^4.62.1" from @browserbasehq/[email protected] npm warn node_modules/@n8n/n8n-nodes-langchain/node_modules/@browserbasehq/stagehand npm warn peer @browserbasehq/stagehand@"^1.0.0" from @langchain/[email protected] npm warn node_modules/@n8n/n8n-nodes-langchain/node_modules/@langchain/community npm warn npm warn Conflicting peer dependency: [email protected] npm warn node_modules/openai npm warn peer openai@"^4.62.1" from @browserbasehq/[email protected] npm warn node_modules/@n8n/n8n-nodes-langchain/node_modules/@browserbasehq/stagehand npm warn peer @browserbasehq/stagehand@"^1.0.0" from @langchain/[email protected] npm warn node_modules/@n8n/n8n-nodes-langchain/node_modules/@langchain/community npm warn ERESOLVE overriding peer dependency npm warn While resolving: @langchain/[email protected] npm warn Found: @azure/[email protected] npm warn node_modules/@azure/search-documents npm warn @azure/search-documents@"12.1.0" from @n8n/[email protected] npm warn node_modules/@n8n/n8n-nodes-langchain npm warn @n8n/n8n-nodes-langchain@"2.16.1" from [email protected] npm warn node_modules/n8n npm warn 1 more (@langchain/community) npm warn npm warn Could not resolve dependency: npm warn peerOptional @azure/search-documents@"^12.2.0" from @langchain/[email protected] npm warn node_modules/@n8n/n8n-nodes-langchain/node_modules/@langchain/community npm warn @langchain/community@"1.1.14" from @n8n/[email protected] npm warn node_modules/@n8n/n8n-nodes-langchain npm warn npm warn Conflicting peer dependency: @azure/[email protected] npm warn node_modules/@azure/search-documents npm warn peerOptional @azure/search-documents@"^12.2.0" from @langchain/[email protected] npm warn node_modules/@n8n/n8n-nodes-langchain/node_modules/@langchain/community npm warn @langchain/community@"1.1.14" from @n8n/[email protected] npm warn node_modules/@n8n/n8n-nodes-langchain npm warn ERESOLVE overriding peer dependency npm warn While resolving: @langchain/[email protected] npm warn Found: @huggingface/[email protected] npm warn node_modules/@huggingface/inference npm warn @huggingface/inference@"4.0.5" from @n8n/[email protected] npm warn node_modules/@n8n/n8n-nodes-langchain npm warn @n8n/n8n-nodes-langchain@"2.16.1" from [email protected] npm warn node_modules/n8n npm warn npm warn Could not resolve dependency: npm warn peerOptional @huggingface/inference@"^4.13.11" from @langchain/[email protected] npm warn node_modules/@n8n/n8n-nodes-langchain/node_modules/@langchain/community npm warn @langchain/community@"1.1.14" from @n8n/[email protected] npm warn node_modules/@n8n/n8n-nodes-langchain npm warn npm warn Conflicting peer dependency: @huggingface/[email protected] npm warn node_modules/@huggingface/inference npm warn peerOptional @huggingface/inference@"^4.13.11" from @langchain/[email protected] npm warn node_modules/@n8n/n8n-nodes-langchain/node_modules/@langchain/community npm warn @langchain/community@"1.1.14" from @n8n/[email protected] npm warn node_modules/@n8n/n8n-nodes-langchain npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated [email protected]: You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other. npm warn deprecated npm warn deprecated (For a CapTP with native promises, see @endo/eventual-send and @endo/captp) npm warn deprecated [email protected]: Use your platform's native DOMException instead npm warn deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported npm warn deprecated [email protected]: This package is no longer supported. npm warn deprecated [email protected]: This package is no longer supported. npm warn deprecated [email protected]: No longer maintained. Please contact the author of the relevant native addon; alternatives are available. npm warn deprecated [email protected]: This package is no longer supported. npm warn deprecated [email protected]: Package is no longer maintained npm warn deprecated [email protected]: The gm module has been sunset. Please migrate to an alternative. https://github.com/aheckmann/gm?tab=readme-ov-file#2025-02-24-this-project-is-not-maintained npm warn deprecated [email protected]: This package is deprecated. Use the optional chaining (?.) operator instead. npm warn deprecated [email protected]: Use @exodus/bytes instead for a more spec-conformant and faster implementation npm warn deprecated @aws-sdk/[email protected]: This package has moved to @smithy/signature-v4 npm warn deprecated @aws-sdk/[email protected]: This package has moved to @smithy/protocol-http npm warn deprecated @xata.io/[email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected] npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected] npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected] npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected] npm warn deprecated [email protected]: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected] npm warn deprecated [email protected]: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected] npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected] npm warn deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected] npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected] npm warn deprecated [email protected]: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected] npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected] Error: Failed to load module "breaking-changes": Cannot find module '/home/notmrmario/.npm/_npx/83f51bd5dfda7e85/node_modules/n8n/dist/modules/breaking-changes.ee/breaking-changes.module' Require stack:

  • /home/notmrmario/.npm/_npx/83f51bd5dfda7e85/node_modules/@n8n/backend-common/dist/modules/module-registry.js
  • /home/notmrmario/.npm/_npx/83f51bd5dfda7e85/node_modules/@n8n/backend-common/dist/index.js
  • /home/notmrmario/.npm/_npx/83f51bd5dfda7e85/node_modules/n8n/dist/config/index.js
  • /home/notmrmario/.npm/_npx/83f51bd5dfda7e85/node_modules/n8n/bin/n8n. Please review the module's entrypoint file name and the module's directory name. at ModuleRegistry.loadModules (/home/notmrmario/.npm/_npx/83f51bd5dfda7e85/node_modules/@n8n/backend-common/src/modules/module-registry.ts:100:12) at CommandRegistry.execute (/home/notmrmario/.npm/_npx/83f51bd5dfda7e85/node_modules/n8n/src/command-registry.ts:46:3) at /home/notmrmario/.npm/_npx/83f51bd5dfda7e85/node_modules/n8n/bin/n8n:63:2

Code Example

"devDependencies": {
  "@n8n/node-cli": "*",
  "eslint": "9.32.0",
  "prettier": "3.6.2",
  "release-it": "^19.0.4",
  "typescript": "5.9.2"
},

---

npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm.
npm warn Unknown env config "npm-globalconfig". This will stop working in the next major version of npm.
npm warn Unknown env config "_jsr-registry". This will stop working in the next major version of npm.
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @getzep/zep-cloud@1.0.6
npm warn Found: @langchain/core@1.1.34
npm warn node_modules/@langchain/core
npm warn   @langchain/core@"1.1.34" from @n8n/ai-utilities@0.10.0
npm warn   node_modules/@n8n/ai-utilities
npm warn     @n8n/ai-utilities@"0.10.0" from n8n@2.16.1
npm warn     node_modules/n8n
npm warn     2 more (@n8n/ai-node-sdk, @n8n/n8n-nodes-langchain)
npm warn   25 more (@n8n/ai-workflow-builder, @n8n/n8n-nodes-langchain, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peerOptional @langchain/core@"~0.1.29" from @getzep/zep-cloud@1.0.6
npm warn node_modules/@getzep/zep-cloud
npm warn   peerOptional @getzep/zep-cloud@"^1.0.6" from @langchain/community@1.1.14
npm warn   node_modules/@n8n/ai-utilities/node_modules/@langchain/community
npm warn   2 more (@n8n/n8n-nodes-langchain, @langchain/community)
npm warn
npm warn Conflicting peer dependency: @langchain/core@0.1.63
npm warn node_modules/@langchain/core
npm warn   peerOptional @langchain/core@"~0.1.29" from @getzep/zep-cloud@1.0.6
npm warn   node_modules/@getzep/zep-cloud
npm warn     peerOptional @getzep/zep-cloud@"^1.0.6" from @langchain/community@1.1.14
npm warn     node_modules/@n8n/ai-utilities/node_modules/@langchain/community
npm warn     2 more (@n8n/n8n-nodes-langchain, @langchain/community)
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @browserbasehq/stagehand@1.14.0
npm warn Found: openai@6.34.0
npm warn node_modules/@n8n/n8n-nodes-langchain/node_modules/openai
npm warn   openai@"^6.9.0" from @n8n/n8n-nodes-langchain@2.16.1
npm warn   node_modules/@n8n/n8n-nodes-langchain
npm warn     @n8n/n8n-nodes-langchain@"2.16.1" from n8n@2.16.1
npm warn     node_modules/n8n
npm warn   1 more (@langchain/community)
npm warn
npm warn Could not resolve dependency:
npm warn peer openai@"^4.62.1" from @browserbasehq/stagehand@1.14.0
npm warn node_modules/@n8n/n8n-nodes-langchain/node_modules/@browserbasehq/stagehand
npm warn   peer @browserbasehq/stagehand@"^1.0.0" from @langchain/community@1.1.14
npm warn   node_modules/@n8n/n8n-nodes-langchain/node_modules/@langchain/community
npm warn
npm warn Conflicting peer dependency: openai@4.104.0
npm warn node_modules/openai
npm warn   peer openai@"^4.62.1" from @browserbasehq/stagehand@1.14.0
npm warn   node_modules/@n8n/n8n-nodes-langchain/node_modules/@browserbasehq/stagehand
npm warn     peer @browserbasehq/stagehand@"^1.0.0" from @langchain/community@1.1.14
npm warn     node_modules/@n8n/n8n-nodes-langchain/node_modules/@langchain/community
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @langchain/community@1.1.14
npm warn Found: @azure/search-documents@12.1.0
npm warn node_modules/@azure/search-documents
npm warn   @azure/search-documents@"12.1.0" from @n8n/n8n-nodes-langchain@2.16.1
npm warn   node_modules/@n8n/n8n-nodes-langchain
npm warn     @n8n/n8n-nodes-langchain@"2.16.1" from n8n@2.16.1
npm warn     node_modules/n8n
npm warn   1 more (@langchain/community)
npm warn
npm warn Could not resolve dependency:
npm warn peerOptional @azure/search-documents@"^12.2.0" from @langchain/community@1.1.14
npm warn node_modules/@n8n/n8n-nodes-langchain/node_modules/@langchain/community
npm warn   @langchain/community@"1.1.14" from @n8n/n8n-nodes-langchain@2.16.1
npm warn   node_modules/@n8n/n8n-nodes-langchain
npm warn
npm warn Conflicting peer dependency: @azure/search-documents@12.2.0
npm warn node_modules/@azure/search-documents
npm warn   peerOptional @azure/search-documents@"^12.2.0" from @langchain/community@1.1.14
npm warn   node_modules/@n8n/n8n-nodes-langchain/node_modules/@langchain/community
npm warn     @langchain/community@"1.1.14" from @n8n/n8n-nodes-langchain@2.16.1
npm warn     node_modules/@n8n/n8n-nodes-langchain
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @langchain/community@1.1.14
npm warn Found: @huggingface/inference@4.0.5
npm warn node_modules/@huggingface/inference
npm warn   @huggingface/inference@"4.0.5" from @n8n/n8n-nodes-langchain@2.16.1
npm warn   node_modules/@n8n/n8n-nodes-langchain
npm warn     @n8n/n8n-nodes-langchain@"2.16.1" from n8n@2.16.1
npm warn     node_modules/n8n
npm warn
npm warn Could not resolve dependency:
npm warn peerOptional @huggingface/inference@"^4.13.11" from @langchain/community@1.1.14
npm warn node_modules/@n8n/n8n-nodes-langchain/node_modules/@langchain/community
npm warn   @langchain/community@"1.1.14" from @n8n/n8n-nodes-langchain@2.16.1
npm warn   node_modules/@n8n/n8n-nodes-langchain
npm warn
npm warn Conflicting peer dependency: @huggingface/inference@4.13.15
npm warn node_modules/@huggingface/inference
npm warn   peerOptional @huggingface/inference@"^4.13.11" from @langchain/community@1.1.14
npm warn   node_modules/@n8n/n8n-nodes-langchain/node_modules/@langchain/community
npm warn     @langchain/community@"1.1.14" from @n8n/n8n-nodes-langchain@2.16.1
npm warn     node_modules/@n8n/n8n-nodes-langchain
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated q@1.5.1: You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
npm warn deprecated
npm warn deprecated (For a CapTP with native promises, see @endo/eventual-send and @endo/captp)
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
npm warn deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated are-we-there-yet@3.0.1: This package is no longer supported.
npm warn deprecated npmlog@6.0.2: This package is no longer supported.
npm warn deprecated prebuild-install@7.1.3: No longer maintained. Please contact the author of the relevant native addon; alternatives are available.
npm warn deprecated gauge@4.0.4: This package is no longer supported.
npm warn deprecated google-p12-pem@4.0.1: Package is no longer maintained
npm warn deprecated gm@1.25.1: The gm module has been sunset. Please migrate to an alternative. https://github.com/aheckmann/gm?tab=readme-ov-file#2025-02-24-this-project-is-not-maintained
npm warn deprecated lodash.get@4.4.2: This package is deprecated. Use the optional chaining (?.) operator instead.
npm warn deprecated whatwg-encoding@3.1.1: Use @exodus/bytes instead for a more spec-conformant and faster implementation
npm warn deprecated @aws-sdk/signature-v4@3.374.0: This package has moved to @smithy/signature-v4
npm warn deprecated @aws-sdk/protocol-http@3.374.0: This package has moved to @smithy/protocol-http
npm warn deprecated @xata.io/client@0.28.4: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated glob@10.5.0: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated glob@7.2.3: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated glob@7.2.3: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated glob@7.2.3: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated tar@6.2.1: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated tar@6.2.1: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated rimraf@2.6.3: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated infisical-node@1.3.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated glob@7.2.3: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated glob@7.2.3: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated tar@6.2.1: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated glob@11.1.0: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
Error: Failed to load module "breaking-changes": Cannot find module '/home/notmrmario/.npm/_npx/83f51bd5dfda7e85/node_modules/n8n/dist/modules/breaking-changes.ee/breaking-changes.module'
Require stack:
- /home/notmrmario/.npm/_npx/83f51bd5dfda7e85/node_modules/@n8n/backend-common/dist/modules/module-registry.js
- /home/notmrmario/.npm/_npx/83f51bd5dfda7e85/node_modules/@n8n/backend-common/dist/index.js
- /home/notmrmario/.npm/_npx/83f51bd5dfda7e85/node_modules/n8n/dist/config/index.js
- /home/notmrmario/.npm/_npx/83f51bd5dfda7e85/node_modules/n8n/bin/n8n. Please review the module's entrypoint file name and the module's directory name.
    at ModuleRegistry.loadModules (/home/notmrmario/.npm/_npx/83f51bd5dfda7e85/node_modules/@n8n/backend-common/src/modules/module-registry.ts:100:12)
    at CommandRegistry.execute (/home/notmrmario/.npm/_npx/83f51bd5dfda7e85/node_modules/n8n/src/command-registry.ts:46:3)
    at /home/notmrmario/.npm/_npx/83f51bd5dfda7e85/node_modules/n8n/bin/n8n:63:2
RAW_BUFFERClick to expand / collapse

Bug Description

Whenever I try to spin up a dev server using npm run dev (the npm script runs n8n-node dev) it can't launch the server, saying it failed to load a module called breaking-changes. I've removed my node_modules and ~/.npm directories altogether and even then it fails to run when it tries to start the dev server. I've even tried inside a docker container with the node:24-alpine image and it didn't work there either.

To Reproduce

  1. Create a custom node project running npm create @n8n/node@latest or any other official scaffolding tool.
  2. Run npm run dev and wait for n8n to install.
  3. The described error comes up and the server quits.

Expected behavior

The testing server to start successfully.

Debug Info

I can't submit any debug info of n8n itself as it fails to even launch.

These are the dev dependencies that came with the project:

"devDependencies": {
  "@n8n/node-cli": "*",
  "eslint": "9.32.0",
  "prettier": "3.6.2",
  "release-it": "^19.0.4",
  "typescript": "5.9.2"
},

@n8n/node-cli is on v0.23.1 as of when I'm writing this and release-it on v19.2.4.

These are the logs that I get when trying to start the server:

npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm.
npm warn Unknown env config "npm-globalconfig". This will stop working in the next major version of npm.
npm warn Unknown env config "_jsr-registry". This will stop working in the next major version of npm.
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @getzep/[email protected]
npm warn Found: @langchain/[email protected]
npm warn node_modules/@langchain/core
npm warn   @langchain/core@"1.1.34" from @n8n/[email protected]
npm warn   node_modules/@n8n/ai-utilities
npm warn     @n8n/ai-utilities@"0.10.0" from [email protected]
npm warn     node_modules/n8n
npm warn     2 more (@n8n/ai-node-sdk, @n8n/n8n-nodes-langchain)
npm warn   25 more (@n8n/ai-workflow-builder, @n8n/n8n-nodes-langchain, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peerOptional @langchain/core@"~0.1.29" from @getzep/[email protected]
npm warn node_modules/@getzep/zep-cloud
npm warn   peerOptional @getzep/zep-cloud@"^1.0.6" from @langchain/[email protected]
npm warn   node_modules/@n8n/ai-utilities/node_modules/@langchain/community
npm warn   2 more (@n8n/n8n-nodes-langchain, @langchain/community)
npm warn
npm warn Conflicting peer dependency: @langchain/[email protected]
npm warn node_modules/@langchain/core
npm warn   peerOptional @langchain/core@"~0.1.29" from @getzep/[email protected]
npm warn   node_modules/@getzep/zep-cloud
npm warn     peerOptional @getzep/zep-cloud@"^1.0.6" from @langchain/[email protected]
npm warn     node_modules/@n8n/ai-utilities/node_modules/@langchain/community
npm warn     2 more (@n8n/n8n-nodes-langchain, @langchain/community)
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @browserbasehq/[email protected]
npm warn Found: [email protected]
npm warn node_modules/@n8n/n8n-nodes-langchain/node_modules/openai
npm warn   openai@"^6.9.0" from @n8n/[email protected]
npm warn   node_modules/@n8n/n8n-nodes-langchain
npm warn     @n8n/n8n-nodes-langchain@"2.16.1" from [email protected]
npm warn     node_modules/n8n
npm warn   1 more (@langchain/community)
npm warn
npm warn Could not resolve dependency:
npm warn peer openai@"^4.62.1" from @browserbasehq/[email protected]
npm warn node_modules/@n8n/n8n-nodes-langchain/node_modules/@browserbasehq/stagehand
npm warn   peer @browserbasehq/stagehand@"^1.0.0" from @langchain/[email protected]
npm warn   node_modules/@n8n/n8n-nodes-langchain/node_modules/@langchain/community
npm warn
npm warn Conflicting peer dependency: [email protected]
npm warn node_modules/openai
npm warn   peer openai@"^4.62.1" from @browserbasehq/[email protected]
npm warn   node_modules/@n8n/n8n-nodes-langchain/node_modules/@browserbasehq/stagehand
npm warn     peer @browserbasehq/stagehand@"^1.0.0" from @langchain/[email protected]
npm warn     node_modules/@n8n/n8n-nodes-langchain/node_modules/@langchain/community
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @langchain/[email protected]
npm warn Found: @azure/[email protected]
npm warn node_modules/@azure/search-documents
npm warn   @azure/search-documents@"12.1.0" from @n8n/[email protected]
npm warn   node_modules/@n8n/n8n-nodes-langchain
npm warn     @n8n/n8n-nodes-langchain@"2.16.1" from [email protected]
npm warn     node_modules/n8n
npm warn   1 more (@langchain/community)
npm warn
npm warn Could not resolve dependency:
npm warn peerOptional @azure/search-documents@"^12.2.0" from @langchain/[email protected]
npm warn node_modules/@n8n/n8n-nodes-langchain/node_modules/@langchain/community
npm warn   @langchain/community@"1.1.14" from @n8n/[email protected]
npm warn   node_modules/@n8n/n8n-nodes-langchain
npm warn
npm warn Conflicting peer dependency: @azure/[email protected]
npm warn node_modules/@azure/search-documents
npm warn   peerOptional @azure/search-documents@"^12.2.0" from @langchain/[email protected]
npm warn   node_modules/@n8n/n8n-nodes-langchain/node_modules/@langchain/community
npm warn     @langchain/community@"1.1.14" from @n8n/[email protected]
npm warn     node_modules/@n8n/n8n-nodes-langchain
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @langchain/[email protected]
npm warn Found: @huggingface/[email protected]
npm warn node_modules/@huggingface/inference
npm warn   @huggingface/inference@"4.0.5" from @n8n/[email protected]
npm warn   node_modules/@n8n/n8n-nodes-langchain
npm warn     @n8n/n8n-nodes-langchain@"2.16.1" from [email protected]
npm warn     node_modules/n8n
npm warn
npm warn Could not resolve dependency:
npm warn peerOptional @huggingface/inference@"^4.13.11" from @langchain/[email protected]
npm warn node_modules/@n8n/n8n-nodes-langchain/node_modules/@langchain/community
npm warn   @langchain/community@"1.1.14" from @n8n/[email protected]
npm warn   node_modules/@n8n/n8n-nodes-langchain
npm warn
npm warn Conflicting peer dependency: @huggingface/[email protected]
npm warn node_modules/@huggingface/inference
npm warn   peerOptional @huggingface/inference@"^4.13.11" from @langchain/[email protected]
npm warn   node_modules/@n8n/n8n-nodes-langchain/node_modules/@langchain/community
npm warn     @langchain/community@"1.1.14" from @n8n/[email protected]
npm warn     node_modules/@n8n/n8n-nodes-langchain
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
npm warn deprecated
npm warn deprecated (For a CapTP with native promises, see @endo/eventual-send and @endo/captp)
npm warn deprecated [email protected]: Use your platform's native DOMException instead
npm warn deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: No longer maintained. Please contact the author of the relevant native addon; alternatives are available.
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: Package is no longer maintained
npm warn deprecated [email protected]: The gm module has been sunset. Please migrate to an alternative. https://github.com/aheckmann/gm?tab=readme-ov-file#2025-02-24-this-project-is-not-maintained
npm warn deprecated [email protected]: This package is deprecated. Use the optional chaining (?.) operator instead.
npm warn deprecated [email protected]: Use @exodus/bytes instead for a more spec-conformant and faster implementation
npm warn deprecated @aws-sdk/[email protected]: This package has moved to @smithy/signature-v4
npm warn deprecated @aws-sdk/[email protected]: This package has moved to @smithy/protocol-http
npm warn deprecated @xata.io/[email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
npm warn deprecated [email protected]: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
npm warn deprecated [email protected]: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
npm warn deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
npm warn deprecated [email protected]: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
Error: Failed to load module "breaking-changes": Cannot find module '/home/notmrmario/.npm/_npx/83f51bd5dfda7e85/node_modules/n8n/dist/modules/breaking-changes.ee/breaking-changes.module'
Require stack:
- /home/notmrmario/.npm/_npx/83f51bd5dfda7e85/node_modules/@n8n/backend-common/dist/modules/module-registry.js
- /home/notmrmario/.npm/_npx/83f51bd5dfda7e85/node_modules/@n8n/backend-common/dist/index.js
- /home/notmrmario/.npm/_npx/83f51bd5dfda7e85/node_modules/n8n/dist/config/index.js
- /home/notmrmario/.npm/_npx/83f51bd5dfda7e85/node_modules/n8n/bin/n8n. Please review the module's entrypoint file name and the module's directory name.
    at ModuleRegistry.loadModules (/home/notmrmario/.npm/_npx/83f51bd5dfda7e85/node_modules/@n8n/backend-common/src/modules/module-registry.ts:100:12)
    at CommandRegistry.execute (/home/notmrmario/.npm/_npx/83f51bd5dfda7e85/node_modules/n8n/src/command-registry.ts:46:3)
    at /home/notmrmario/.npm/_npx/83f51bd5dfda7e85/node_modules/n8n/bin/n8n:63:2

And it just exits with code 1.

Operating System

Ubuntu Server for ARM 25.10

n8n Version

2.16.1

Node.js Version

24.12.0

Database

SQLite (default)

Execution mode

main (default)

Hosting

self hosted

extent analysis

TL;DR

The issue is likely due to a missing or incompatible module, and resolving the peer dependency conflicts may fix the problem.

Guidance

  1. Check for peer dependency conflicts: The error logs indicate several peer dependency conflicts, such as @langchain/core, openai, @azure/search-documents, and @huggingface/inference. Try to resolve these conflicts by updating the dependencies to compatible versions.
  2. Verify module installation: Ensure that the breaking-changes module is installed and its entrypoint file name and directory name are correct.
  3. Clean and reinstall dependencies: Run npm ci or npm install to clean and reinstall the dependencies, which may help resolve any issues with missing or incompatible modules.
  4. Check for deprecated dependencies: The error logs also indicate several deprecated dependencies, such as inflight, q, and glob. Consider updating or replacing these dependencies to ensure compatibility and security.

Example

No specific code example is provided, as the issue seems to be related to dependency conflicts and module installation.

Notes

The issue may be specific to the n8n version (2.16.1) or the Node.js version (24.12.0) being used. Additionally, the error logs indicate several deprecated dependencies, which may need to be updated or replaced to ensure compatibility and security.

Recommendation

Apply a workaround by resolving the peer dependency conflicts and updating the dependencies to compatible versions. If the issue persists, consider seeking further assistance from the n8n community or support team.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

The testing server to start successfully.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING