Describe the issue/error/question
I am trying to switch the node I am working on to a community node.
I have followed these steps to test the node locally : Run your node locally - n8n Documentation
What is the error message (if any)?
When running n8n start
, I get :
Error: Cannot find module '/opt/homebrew/lib/node_modules/n8n/node_modules/n8n-nodes-opencell/dist/credentials/OpencellApi.credentials.ts'
Full error
β― n8n start
Initializing n8n process
Error: Cannot find module '/opt/homebrew/lib/node_modules/n8n/node_modules/n8n-nodes-opencell/dist/credentials/OpencellApi.credentials.ts'
Require stack:
- /opt/homebrew/lib/node_modules/n8n/dist/src/LoadNodesAndCredentials.js
- /opt/homebrew/lib/node_modules/n8n/dist/src/index.js
- /opt/homebrew/lib/node_modules/n8n/dist/commands/start.js
- /opt/homebrew/lib/node_modules/n8n/node_modules/@oclif/config/lib/plugin.js
- /opt/homebrew/lib/node_modules/n8n/node_modules/@oclif/config/lib/config.js
- /opt/homebrew/lib/node_modules/n8n/node_modules/@oclif/config/lib/index.js
- /opt/homebrew/lib/node_modules/n8n/node_modules/@oclif/command/lib/command.js
- /opt/homebrew/lib/node_modules/n8n/node_modules/@oclif/command/lib/index.js
- /opt/homebrew/lib/node_modules/n8n/bin/n8n
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at LoadNodesAndCredentialsClass.loadCredentialsFromFile (/opt/homebrew/lib/node_modules/n8n/src/LoadNodesAndCredentials.ts:193:22)
at LoadNodesAndCredentialsClass.loadDataFromPackage (/opt/homebrew/lib/node_modules/n8n/src/LoadNodesAndCredentials.ts:580:10)
at LoadNodesAndCredentialsClass.init (/opt/homebrew/lib/node_modules/n8n/src/LoadNodesAndCredentials.ts:80:4)
at /opt/homebrew/lib/node_modules/n8n/commands/start.ts:195:5
at Start.run (/opt/homebrew/lib/node_modules/n8n/commands/start.ts:157:3)
at Start._run (/opt/homebrew/lib/node_modules/n8n/node_modules/@oclif/command/lib/command.js:43:20)
at Config.runCommand (/opt/homebrew/lib/node_modules/n8n/node_modules/@oclif/config/lib/config.js:173:24)
at Main.run (/opt/homebrew/lib/node_modules/n8n/node_modules/@oclif/command/lib/main.js:27:9)
at Main._run (/opt/homebrew/lib/node_modules/n8n/node_modules/@oclif/command/lib/command.js:43:20)
The /opt/homebrew/lib/node_modules/n8n/node_modules/n8n-nodes-opencell/dist/credentials/
directory contains the following files :
βββ credentials
β βββ OpencellApi.credentials.d.ts
β βββ OpencellApi.credentials.js
β βββ OpencellApi.credentials.js.map
β βββ OpencellOAuth2Api.credentials.d.ts
β βββ OpencellOAuth2Api.credentials.js
β βββ OpencellOAuth2Api.credentials.js.map
(looks like transpiled typescript ?)
What did I get wrong ?
Thank you
Information on your n8n setup
- n8n version: 0.188.0
- Database youβre using (default: SQLite): sqlite3
- Running n8n with the execution process [own(default), main]: own
- Running n8n via [Docker, npm, n8n.cloud, desktop app]: npm