En.json modification

As I modify en.json to localize and white labeling, building the n8n project gets error

  • **n8n version: 1.58.1
  • **Database: default: SQLite
  • **n8n EXECUTIONS_PROCESS setting: default: own, main
  • **Running n8n via : github codespace and pnpm
  • **Operating system: Linux

ELIFECYCLE Command failed with exit code 1.
n8n-editor-ui:build: ERROR: command finished with error: command (/workspaces/codespaces-blank/n8n-n8n-1.58.1/packages/editor-ui) /home/codespace/nvm/current/bin/pnpm run build exited (1)
n8n-editor-ui#build: command (/workspaces/codespaces-blank/n8n-n8n-1.58.1/packages/editor-ui) /home/codespace/nvm/current/bin/pnpm run build exited (1)

Tasks: 13 successful, 14 total
Cached: 13 cached, 14 total
Time: 51.572s
Failed: n8n-editor-ui#build

ERROR run failed: command exited (1)
ELIFECYCLE Command failed with exit code 1.

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

hi @Saeed_Mehrjoo

Can you please share more details on this? the workflow and steps you took so far would be helpful to get more context.

Thank you!

Thanks for reply,
I just want to customize my n8n. I modify one string in en.json ( n8n documents indicate that en.json is for localization ) and then try to build the n8n source code. But building the project gets error.

I go to Codespace on GitHub, create a new template, and run the following commands:
git clone GitHub - n8n-io/n8n: Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
cd n8n
pnpm install
pnpm build
pnpm start

Everything works fine, but when I make any changes to en.json and try to rebuild, it throws an error.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.