Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serverless command "-org" not found. #7145

Open
simsketch opened this issue Dec 26, 2019 · 3 comments
Open

Serverless command "-org" not found. #7145

simsketch opened this issue Dec 26, 2019 · 3 comments

Comments

@simsketch
Copy link

@simsketch simsketch commented Dec 26, 2019

Bug Report

Per the instructions on the dashboard
[https://dashboard.serverless.com/tenants/{username}/applications/{application-name}/overview]

I attempted to set the org and app names via the command line.

serverless login <-- this command worked

serverless —org [username] —app [application name]

which returns Serverless command -org not found.

I have never set the org or app in my serverless file, either manually or by other means.

I would expect the org an app to be set when I run this command, since the instructions on the live dashbaoard instruct me to do so.

@medikoo

This comment has been minimized.

Copy link
Member

@medikoo medikoo commented Dec 29, 2019

@simsketch thanks for report. There's bug in a docs. It should be:

serverless --org [username] --app [application name]

(note: two - characters, and not one )

/cc @skierkowski

@sridharkalaibala

This comment has been minimized.

Copy link

@sridharkalaibala sridharkalaibala commented Jan 2, 2020

I had similar issue. I copied command from
https://dashboard.serverless.com/tenants/xxxxx/applications/test/overview/service.
you may need to just edit the page with -- character.
image

@skierkowski

This comment has been minimized.

Copy link
Member

@skierkowski skierkowski commented Jan 2, 2020

Sorry about that. Looks like it was probably a copy-paste issue from an editor which replaced the -- char. Getting it fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.