Graphcool CLI Beta: running `graphcool module add ...
# prisma-whats-new
m
Graphcool CLI Beta: running
graphcool module add graphcool/modules/syncing/algolia
, and getting
Cannot read property 'endPosition' of undefined
. Any thoughts?
n
never saw this before - can you reproduce it by doing
graphcool init
then running your command in a new folder?
m
Nope, can’t. I’ll keep digging and trying to reproduce.
n
ya, I noticed there are some circumstances where commands with modules fail with a useless error message, like this: https://github.com/graphcool/graphcool-cli/issues/258 I imagine this to be something similar
m
Saw that on Github, not related though. I found out what’s wrong… My project didn’t have any
modules
in it, so I had removed the
modules
entry from the yaml. That’s why it breaks. Adding back the empty modules config works around it, but I’d expect it to work without it too.
n
agreed! could you create a new issue for that?
m
Will do, tomorrow probably 👍
💚 1
n
thanks so much!