Firebase Stripe Setup Issues

I am trying to deploy a new function called ‘createStripeCheckout’, but I keep getting an error stating that eslint command wasn’t found:

davidknight@Davids-MacBook-Air HTML % firebase deploy –only functions

=== Deploying to ‘studiopick-f6c1f’…

i deploying functions
Running command: npm –prefix “$RESOURCE_DIR” run lint

lint
eslint .

sh: eslint: command not found

Error: functions predeploy error: Command terminated with non-zero exit code127