N8n Installation Giving Issue

Hi Team,

Describe the problem/error/question

When I try to install n8n version 1.68.0 using the command pnpm install it’s failing on one prepared script.

What is the error message (if any)?

. prepare$ node scripts/prepare.mjs
│ ‘.’ is not recognized as an internal or external command,
│ operable program or batch file.
│ node:internal/errors:956
│ const err = new Error(message);
│ ^
│ Error: Command failed: ./node_modules/.bin/lefthook install

Information on your n8n setup

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

Hey @Tanay_Acro

Are you using the latest master branch of n8n?

Hi @Jon ,
Yes I’m Using latest master branch.