The Rush prettier pre-commit hook breaks when used with the VSCode GUI. Error output suggests that this is because VSCode is using its own version of node which does not abide the version constraint specified in rush.json:
ERROR: Your dev environment is running Node.js version v18.0.0 which does not
meet the requirements for building this repository. (The rush.json
configuration requires nodeSupportedVersionRange=">=14.15.0 <15.0.0 ||
>=16.13.0 <17.0.0")
The Rush prettier pre-commit hook breaks when used with the VSCode GUI. Error output suggests that this is because VSCode is using its own version of node which does not abide the version constraint specified in
rush.json
: