#yarn graphql:data:generate fails with /usr/bin/env: ‘ruby2.7’: No such file or directory

1 messages · Page 1 of 1 (latest)

wild bane
#

I am getting this error when trying to generate graphql:

y graphql:data:generate
/usr/bin/env: ‘ruby2.7’: No such file or directory

anybody dealt with this before?
Also why is ruby even needed for this?

#

now it runs!

it was using dotenv from my /usr/local/bin/dotenv 😅

wintry hill
#

Usually I'd say you can include but it seems like this issue you're pointing out could also apply to other commands in this package.json? So if you don't mind opening a separate PR that'd be great

#

Of course, better to implement it in the same PR than not raise a PR at all 😁