Issue running freeCodeCamp locally (error when running pnpm run develop)

I am trying to set up freecodecamp locally but I am facing an issue at the step to start the client.

After running pnpm run develop I get this error:

@freecodecamp/client:develop: > NODE_OPTIONS="--max-old-space-size=7168 --no-deprecation" gatsby develop --inspect=9230
@freecodecamp/client:develop:
@freecodecamp/client:develop: '--no-deprecation' is not recognized as an internal or external command,
@freecodecamp/client:develop: operable program or batch file.
@freecodecamp/client:develop: Note: This command was run via npm module 'win-node-env'
@freecodecamp/client:develop: (node:21752) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.
@freecodecamp/client:develop: (Use `node --trace-deprecation ...` to show where the warning was created)
@freecodecamp/client:develop:  ELIFECYCLE  Command failed with exit code 1.
@freecodecamp/api:develop: Terminate batch job (Y/N)? Terminate batch job (Y/N)? 
@freecodecamp/api:develop: ^C
@freecodecamp/shared:develop: Terminate batch job (Y/N)? Terminate batch job (Y/N)?
@freecodecamp/shared:develop: ^C
 ERROR  @freecodecamp/client#develop: command (C:\Users\Alia\freeCodeCamp\client) C:\nvm4w\nodejs\pnpm.cmd run develop exited (1)

 Tasks:    7 successful, 10 total
Cached:    7 cached, 10 total
  Time:    11.101s
Failed:    @freecodecamp/client#develop

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

I am on Windows 11 and Docker is running.
I could not find any solutions online, could someone please help?

After a lot of searching I learned that I had to use WSL to run freecodecamp locally as it is not supported on windows. I was able to finally run it after many attempts.

1 Like

wasn’t it clear in the contribute guide?

this page Setup a dev environment for freeCodeCamp | Contribute | freeCodeCamp.org starts with: