Giter Club home page Giter Club logo

account-extend's People

Contributors

edewit avatar

Stargazers

 avatar

Watchers

 avatar  avatar

account-extend's Issues

Vite throws quite a few errors

I don't know how ready this project is since it only has a few commits, but I wanted to try this anyway since I wanted deeper customization then I could achieve by customizing the default account UI. (Changing the layout and adapting it to our needs)

Before I could even try changing anything, I was confronted with an error when trying to run the freshly cloned repository.
I followed the instructions and installed the dependencies using pnpm.

When running pnpm run dev the following errors get printed to the console:


  VITE v5.3.3  ready in 486 ms

  ➜  Local:   http://localhost:5173/
  ➜  Network: use --host to expose
  ➜  press h + enter to show help
✘ [ERROR] Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2020", "firefox78", "safari14" + 2 overrides)

    node_modules/.pnpm/@[email protected]/node_modules/@keycloak/keycloak-account-ui/lib/main-LT0fpout.js:12788:0:
      12788 │ await Ni.init();
            ╵ ~~~~~


 ERROR(TypeScript)  Module '"@keycloak/keycloak-account-ui"' has no exported member 'AccountEnvironment'.
 FILE  C:/Users/david/Downloads/account-extend-main/account-extend-main/src/environment.ts:1:10

  > 1 | import { AccountEnvironment } from "@keycloak/keycloak-account-ui";
      |          ^^^^^^^^^^^^^^^^^^
    2 | import { getInjectedEnvironment } from "@keycloak/keycloak-ui-shared";
    3 |
    4 | export const environment = getInjectedEnvironment({

 ERROR(TypeScript)  Expected 0 arguments, but got 1.
 FILE  C:/Users/david/Downloads/account-extend-main/account-extend-main/src/environment.ts:4:51

     2 | import { getInjectedEnvironment } from "@keycloak/keycloak-ui-shared";
     3 |
  >  4 | export const environment = getInjectedEnvironment({
       |                                                   ^
  >  5 |   authServerUrl: "http://localhost:8180",
       | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  >  6 |   realm: "master",
       | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  >  7 |   clientId: "security-admin-console-v2",
       | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  >  8 |   resourceUrl: "http://localhost:8180",
       | ^^^^^^^^^^^^^^^^
... and 161 lines more

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.