Installation and Build Issues with n8n Project

Hello n8n Team,

I’m encountering some problems while setting up the n8n project on my local machine. When running pnpm i, I’m seeing errors related to the lefthook installation and a message stating that “prepare is not recognized as an internal or external command.”

Additionally, even though I can run the server locally using npx n8n, any changes I make to the frontend are not reflected after rebuilding. I’ve tried using the turbo build process, but it doesn’t seem to resolve the issue.

Could you please provide guidance on resolving these issues? Any help would be greatly appreciated.

Best regards,
Sagar Sood

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 @Honey

Sorry to hear about this. Can you share more details about the local build errors? Perhaps share the build log.txt file it produces. You can echo the build log to a txt file like so:

pnpm i > log.txt

Then provide that log file so I can see the full error.

Thanks

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