question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

can not create user via cli

See original GitHub issue

eg users create ? Enter firstname [required]: kate ? Enter lastname [required]: kate ? Enter username [required]: smith ? Enter email: undefined ? Enter redirectUri: undefined ✖ <!DOCTYPE html>

<html lang="en"> <head> <meta charset="utf-8"> <title>Error</title> </head> <body>
Cannot POST //users/
</body> </html>

//users/ is not a valid path

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
jinasonlincommented, Mar 19, 2018

I also encountered this problem.

https://github.com/ExpressGateway/express-gateway/blob/master/bin/eg-generator.js#L80 https://github.com/ExpressGateway/express-gateway/blob/master/admin/users.js#L2

Final request address is http://localhost:9876//user/, not http://localhost:9876/user/

Temporary solution: EG_ADMIN_URL=http://localhost:9876 eg users create or config systemConfig.cli.url

1reaction
XVincentXcommented, Mar 20, 2018

I’ve released EG 1.7.4 as an hotfix for that.

@jinasonlin @MillerRen @gianpaj

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't create a new user account?
1. Click Start. 2. Type the three letters cmd into the Search box. ... 4. Click "Run as Administrator". ... The first command...
Read more >
Add new user account from command line (CMD)
An administrator account can't be created directly. We first need to create a user account and then add the user to the administrators...
Read more >
Can't add user via command line Solved
I am trying to add a user via the command line through a virtual pc I added with VMWare. I'm running windows 10,...
Read more >
Cannot create users with CLI - Command Line Interface
Hello everyone, I have a dockerized Mattermost server installed in a container and is working fine. I just wanted to add a few...
Read more >
Cannot create user using cli · Issue #745 · getredash/redash
I'm trying to add user with: sudo -u redash bin/run ./manage.py users create --admin --password "admin" "Admin" "admin" And I got this ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found