-
Notifications
You must be signed in to change notification settings - Fork 866
fs.pathExistsSync is not a function #875
Comments
Are you deploying locally or to a shared cluster? |
I'm deploying to my project on graph.cool |
Hold on, maybe I'm confused. If I do an |
Yes, you are supposed to get |
Alright, it looks like my graphcool.yml follows the schema, and I'm on version 0.7.0, and yes this error continues to appear. |
Also, the error continues to appear even if the function is a |
The issue goes away if I install |
Okay, very complicated scenario, but @lastmjs and me figured it out. First of all, the Now what happens? Once ...Except, if you happen to have another project dependency that uses a different version of Normal install:
Install with existing conflicting version:
This happened to be So the bottom line is: Please check the package.json dependencies for all CLI components |
Thanks for researching this already so well @kbrandwijk @lastmjs @marktani ! I will add |
This is fixed and published at |
When I run
graphcool deploy
I get the following error in the terminal:My graphcool.yml has the following format for functions:
When I deploy with the functions defined as above, I get the error. When I remove the functions section, everything deploys fine
The text was updated successfully, but these errors were encountered: