mobxjs / mst-gql

Bindings for mobx-state-tree and GraphQL
MIT License
681 stars 81 forks source link

TypeError: Cannot read property 'endsWith' of undefined #403

Closed sabaimran closed 1 year ago

sabaimran commented 1 year ago

I'm setting up my dev environment from scratch on a new machine. This setup has worked for me in the past on an Ubuntu - Jammy Jellyfish environment. Now I'm on macOS Monetery version 12.5 (21G72).

When I run mst-gql in my project, I get the following error:

TypeError: Cannot read property 'endsWith' of undefined

Do you have any idea of how to debug this issue? I'm not sure where to start.

Versions

npm info mst-gql version
0.17.1
node --version
v14.18.0
Benz19 commented 1 year ago

Hey @sabaimran I'll try and get you a response quickly

sabaimran commented 1 year ago

Ah, @Benz19 the issue was on my end with configuration of environment variables. Sorry for the trouble!