Serverless login from Mac command line

I’m checking out the environment for the first time. Serverless is installed on my Mac but I cannot log in. Getting:

$ serverless login
 
  Serverless Error ---------------------------------------
 
  Serverless plugin "/usr/local/lib/node_modules/serverless/lib/plugins/run/index.js" initialization errored: Cannot find module '@serverless/fdk'
 
  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com
 
  Your Environment Information -----------------------------
     OS:                     darwin
     Node Version:           10.3.0
     Serverless Version:     1.27.3

Any help would be greatly appreciated.

You don’t actually need to log into your Serverless account to use the Serverless Framework. Unless you really need to be logged in I would skip it.

Unfortunately I get the same error no matter what I try to do at the command line.

It sounds like it didn’t install correctly. I have you tried removing it and installing it again?