When i try to install Ghost from source on windows 11 pro system by running yarn setup i am encountering the following error
D:\Ghost>yarn setup
yarn run v1.22.22
$ yarn && git submodule update --init && NODE_ENV=development node .github/scripts/setup.js
[1/4] Resolving packages…
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@^2.29.1”
warning Resolution field “@tryghost/errors@1.3.1” is incompatible with requested version “@tryghost/errors@1.2.26”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@2.29.1”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@2.29.4”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@2.29.4”
warning Resolution field “moment-timezone@0.5.23” is incompatible with requested version “moment-timezone@0.5.34”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@2.29.4”
warning Resolution field “@tryghost/errors@1.3.1” is incompatible with requested version “@tryghost/errors@1.2.26”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@2.29.1”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@2.29.3”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@^2.27.0”
warning Resolution field “moment-timezone@0.5.23” is incompatible with requested version “moment-timezone@^0.5.31”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@2.27.0”
warning Resolution field “@tryghost/logging@2.4.13” is incompatible with requested version “@tryghost/logging@2.4.10”
warning Resolution field “moment-timezone@0.5.23” is incompatible with requested version “moment-timezone@^0.5.33”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@^2.29.1”
success Already up-to-date.
$ husky install .github/hooks
husky - Git hooks installed
‘NODE_ENV’ is not recognized as an internal or external command,
operable program or batch file.
error Command failed with exit code 1.
info Visit yarn run | Yarn for documentation about this command.
Can anyone help me please?