account-extend's People
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.