Updated my N8N instance and how the deployment is failing

I have a hosted instance of n8n, after syncing my git folder and updating my host server, the deployment fails with this error: Your pnpm version is incompatible with “/opt/render/project/src”.

Feb 13 10:03:29 AM

Feb 13 10:03:29 AMExpected version: >=10.2.1

Feb 13 10:03:29 AMGot: 9.15.3

Feb 13 10:03:29 AM

Feb 13 10:03:29 AMThis is happening because the package’s manifest has an engines.pnpm field specified.

Feb 13 10:03:29 AMTo fix this issue, install the required pnpm version globally.

Feb 13 10:03:29 AM

Feb 13 10:03:29 AMTo install the latest version of pnpm, run “pnpm i -g pnpm”.

Feb 13 10:03:29 AMTo check your pnpm version, run “pnpm -v”.

Feb 13 10:03:29 AM==> Build failed :disappointed:

Feb 13 10:03:29 AM==> Common ways to troubleshoot your deploy: https://render.com/docs/troubleshooting-deploys

can anyone help me solve this?

I also got the same message for node, but i just changed my environment variable to the requested version and that worked, but how do i update PNPM?

1 Like

Honestly I’d recommend hosting n8n with Docker, seems like you are trying to do it through npm which is an option as well but hasn’t worked nicely in my experience either.

They have great documentation for this here:

And if you want to use DigitalOcean to host which is what I use, they have documentation specifically for hosting n8n in DigitalOcean:

1 Like