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.

AdminUIPlugin's devMode unusable

See original GitHub issue

Describe the bug When running AdminUIPlugin with devMode: true I get the log in page and I cannot login because the app is making requests to localhost:4200/admin-api that return a 404 error. Maybe it should be rewrited to point to localhost:3000/admin-api instead?

To Reproduce Steps to reproduce the behavior:

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Environment (please complete the following information):

  • @vendure/core version:1.3.0
  • Nodejs version: 14.16.0
  • Database (mysql/postgres etc): PostgreSQL

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:20 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
HendrikMennencommented, Nov 1, 2022

Thanks, that does seem to work for me 😃

0reactions
michaelbromleycommented, Nov 1, 2022

ok, this is strange. You can also try this:

 AdminUiPlugin.init({
      route: "admin",
      port: 3002,
      app: compileUiExtensions({
        outputPath: path.join(__dirname, "../admin-ui"),
        extensions: [
        ],
        devMode: true
      }),
     adminUiConfig: {
       apiHost: 'http://localhost',
       apiPort: 3000,
     }

and then see if it works on port 4200 in the browser.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error plugin in development setup · Issue #511 - GitHub
Hello, I'm trying a plugin for the strapi following the documentation, but there was a problem saying that you miss the strapi-admin module....
Read more >
Portal customizations from the Admin UI | Citrix Gateway 13.1
Admins can customize the portal themes by creating the custom themes to achieve the personalized look and feel of the user portal.
Read more >
Management Plugin - RabbitMQ
The RabbitMQ management plugin provides an HTTP-based API for management and monitoring of RabbitMQ nodes and clusters, along with a browser-based UI and...
Read more >
Adding a Configuration UI for your Plugin - Atlassian Developer
A plugin can present configurable settings to Atlassian instance administrators. This is useful where your plugin requires configuration or ...
Read more >
How to Fix the HTTP Error 503 Service Unavailable - Kinsta
Temporarily Deactivate Your WordPress Plugins. One of the most common causes of the 503 error in WordPress is plugin compatibility issues. To ...
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