I have just migrated legacy project to gc service ...
# prisma-whats-new
j
I have just migrated legacy project to gc service and upgraded npm module locally, but when I try to run console I get this message: graphcool console ▸ The new console is coming soon!
n
what's
graphcool version
?
j
graphcool/1.4.0 (darwin-x64) node-v8.5.0
n
please run
npm install -g graphcool
, I don't know how you ended up with this version
j
do I have to remove current install first?
n
no
j
ok, I did install first but got problems, so I did upgrade after that, perhaps that’s the reason?
now I get: $ graphcool version bash: /usr/local/bin/graphcool: No such file or directory
n
what was the output from running
npm install -g graphcool
?
j
+ graphcool@1.0.0 removed 803 packages and updated 3 packages in 5.25s
n
this is mine:
Copy code
/usr/local/bin/graphcool-framework -> /usr/local/lib/node_modules/graphcool/dist/index.js
/usr/local/bin/gc -> /usr/local/lib/node_modules/graphcool/dist/index.js
/usr/local/bin/gcf -> /usr/local/lib/node_modules/graphcool/dist/index.js
/usr/local/bin/graphcool -> /usr/local/lib/node_modules/graphcool/dist/index.js
+ graphcool@0.11.5
updated 1 package in 12.519s
I have no idea why that is different. Mine is the expected.
j
strange, well it seems more like an npm issue than GC, I’ll dig further into this
thanks for your response
n
cheers!
you can also try
npm install -g graphcool@0.11.5
directly
j
finally! graphcool-framework/0.11.5 (darwin-x64) node-v8.5.0
I switched to iTerm instead of VS Code terminal and run: sudo npm install -g --update-binary graphcool