contentauth / c2pa-js

JavaScript SDK for displaying and validating C2PA data
https://opensource.contentauthenticity.org
MIT License
74 stars 40 forks source link

Rush prettier pre-commit hook does not work with VSCode GUI #22

Open emensch opened 2 years ago

emensch commented 2 years ago

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")
crandmck commented 1 year ago

@adobe export issue to Jira project CAI

github-jira-sync-bot commented 1 year ago

:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/CAI-3381 is successfully created for this GitHub issue.