The CLI gives me `Error: Unexpected token c in JSO...
# prisma-whats-new
p
The CLI gives me
Error: Unexpected token c in JSON at position 0
.
n
hey there, when does this happen? what's your CLI version?
p
Hello. It's 1.3.7.
"next" works fine, but does not support the
modules
sub-command.
a
@next
upgrades your ~/.graphcoolrc file, so it cannot be read by 1.3.7. (it tells you when you first init a project with
@next
). If you remove the file, and re-run
gc auth
, it should work again.
p
Oh, great!
modules
is not available in 1.3.7 either.
n
modules were experimental in 0.4 and have been replaced by templates lately
p
They are still in some docs (in Github). It's getting somewhat confusing...
n
where?
Now it's been deleted.
n
yes 🙂
p
🙂