Hello people,
I have recently started experimenting with serverless for a side project. I had built a small app to try things out and it had been working prior to this upgrade. It’s nothing fancy but was using DynamoDB. If I keep away from the new enterprise/dashboard options it still works
- I have created a user and an Application on the dashboard. Again minimal (service pending)
- tried copying the tenant and app entries from the dashboard and adding it to my serverless.yml file but that causes a crash when I try and deploy
- If I try and login manually it gets part way and then just stops. This does cause the dashboard login to be activated in my default browser ( OSX-Safari-Mojave 10.14.5) and the browser login works. But the CLI login cmd never comes back.
- I had seen this mentioned in earlier posts where the only response I found was a bad install, so I removed serverless and node and reinstalled.
I am still getting the same issues if I try and do a CLI logon or specify my credentials in the serverless.yml file - I did my node and serverless installs via home-brew (I’m on OSX 10.14.5)
My version info
$ serverless --version
1.48.2 (Enterprise Plugin: 1.3.1, Platform SDK: 2.0.3)
$ node --version
v12.6.0
Serverless CLI login
$ serverless
Serverless: DOTENV: Loading environment variables from .env:
Serverless: - SLS_DEBUG
Serverless: Invoke interactiveCli
You can monitor, troubleshoot, and test your new service with a free Serverless account.
Serverless: Would you like to enable this? Yes
You are not logged in or you do not have a Serverless account.
Serverless: Do you want to register? No
If you have a Serverless account you can run “serverless login” to
login and then run “serverless” again to finish setup.
$ serverless login
Serverless: DOTENV: Loading environment variables from .env:
Serverless: - SLS_DEBUG
Serverless: Load command login
Serverless: Load command logout
Serverless: Load command generate-event
Serverless: Load command test
Serverless: Load command dashboard
Serverless: Invoke login
Serverless: Logging you in via your default browser...
platform-sdk fetching: POST https://api.serverless.com/core/tokens
and the debug info if I add my credentials to Serverless.yml
variables from .env:
Serverless: - SLS_DEBUG
Serverless: You are not currently logged in. To log in, use: $ serverless login
Unhandled rejection Error: You are not currently logged in. To log in, use: $ serverless login
at new ServerlessEnterprisePlugin (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/@serverless/lib/plugin.js:146:15)
at PluginManager.addPlugin (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/lib/classes/PluginManager.js:64:28)
at /usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/lib/classes/PluginManager.js:106:14
at Array.forEach (<anonymous>)
at PluginManager.loadPlugins (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/lib/classes/PluginManager.js:100:13)
at PluginManager.loadEnterprisePlugin (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/lib/classes/PluginManager.js:167:10)
at PluginManager.loadAllPlugins (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/lib/classes/PluginManager.js:96:10)
at /usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/lib/Serverless.js:78:28
at tryCatcher (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:517:31)
at Promise._settlePromise (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:574:18)
at Promise._settlePromise0 (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:619:10)
at Promise._settlePromises (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:699:18)
at Promise._fulfill (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:643:18)
at Promise._resolveCallback (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:437:57)
at Promise._settlePromiseFromHandler (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:529:17)
at Promise._settlePromise (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:574:18)
at Promise._settlePromise0 (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:619:10)
at Promise._settlePromises (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:699:18)
at Promise._fulfill (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:643:18)
at PromiseArray._resolve (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise_array.js:126:19)
at PromiseArray._promiseFulfilled (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise_array.js:144:14)
at Promise._settlePromise (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:579:26)
at Promise._settlePromise0 (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:619:10)
at Promise._settlePromises (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:699:18)
at Promise._fulfill (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:643:18)
at Promise._resolveCallback (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:437:57)
at Promise._settlePromiseFromHandler (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:529:17)
at Promise._settlePromise (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:574:18)
at Promise._settlePromise0 (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:619:10)
at Promise._settlePromises (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:699:18)
at Promise._fulfill (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:643:18)
at PropertiesPromiseArray.PromiseArray._resolve (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise_array.js:126:19)
at PropertiesPromiseArray._promiseFulfilled (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/props.js:78:14)
at Promise._settlePromise (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:579:26)
at Promise._settlePromise0 (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:619:10)
at Promise._settlePromises (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:699:18)
at Promise._fulfill (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:643:18)
at Promise._resolveCallback (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:437:57)
at Promise._settlePromiseFromHandler (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:529:17)
at Promise._settlePromise (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:574:18)
at Promise._settlePromise0 (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:619:10)
at Promise._settlePromises (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/promise.js:695:18)
at _drainQueueStep (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/async.js:138:12)
at _drainQueue (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/async.js:131:9)
at Async._drainQueues (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/async.js:147:5)
at Immediate.Async.drainQueues [as _onImmediate] (/usr/local/Cellar/serverless/1.48.2/libexec/lib/node_modules/serverless/node_modules/bluebird/js/release/async.js:17:14)
at processImmediate (internal/timers.js:439:21)
at process.topLevelDomainCallback (domain.js:126:23)
╭───────────────────────────────────────╮
│ │
│ Update available 1.48.2 → 1.48.3 │
│ Run npm i serverless to update │
│ │
╰───────────────────────────────────────╯