@rwobben I don’t see anything in the screenshot that shows that either version of Node.js is related to Local. Local doesn’t add node.exe or npm.exe to Windows paths.
The only path to Node.js in your screenshot is C:\Program Files\nodejs\node.exe, which is the system-installed version of Node.js and seems to be version 22.14. I don’t see the path for the older version of Node.js in your output.
You could try this to see if it gives you a different Node.js path:
npx -y node -p "process.execPath"
If that does not work, though, you could try reporting this issue to the create-block parent repo, as the underlying problem relates to how create-block detects Node.js/npm versions.
C:\Users\rwobb\AppData\Local\ is not specific to the Local app. Windows itself uses this path named “Local” for locally installed applications, but I can see how you might have thought this relates to Local!
It looks like you might have another version of node installed globally via npm? That could explain why check-node-version shows a different version to your system Node.js.
You could try uninstalling that version with:
npm uninstall -g node
Then run this again:
npx check-node-version --print
If that now shows the correct version of Node.js and npm (the one matching npm --version), try your create-block command again:
npx check-node-version --print
C:\Users\rwobb\AppData\Local\npm-cache\_npx\8959868eaaadb8e0\node_modules\check-node-version\cli.js:58
throw err;
^
Error: Command failed: "yarn --version"
stderr:
This project is configured to use pnpm because C:\Users\rwobb\package.json has a "packageManager" field
original error message:
Command failed: yarn --version
This project is configured to use pnpm because C:\Users\rwobb\package.json has a "packageManager" field
If so, I recommend filing an issue in the create-block parent repo. This looks like an issue specific to that package’s approach to Node.js version checking rather than with Local.
C:\Users\rwobb\Local Sites\learningplugins\app\public>npx check-node-version --print
node: 22.14.0
yarn: 1.22.21
pnpm: 10.7.0
npm: 8.19.4
npx: 8.19.4
C:\Users\rwobb\Local Sites\learningplugins\app\public>npx @wordpress/create-block@latest preset-block-bindings --template @block-developer-cookbook/preset-block-bindings
Minimum system requirements not met!
Error: Wanted npm version >=10.2.3 (>=10.2.3)
The program may not complete correctly if you continue.
? Are you sure you want to continue anyway? (y/N)