NPM Install does not work
asyuki1 opened this issue · comments
I am unable to reproduce this issue on a fresh download. Could you confirm you are running node.js 16.7 by running node -v
in a PowerShell window?
With 16.7, the UI should work despite these dependency warnings. Do you receive any kind of error message or encounter issues when starting the backend and frontend after the install?
I dont get any Error's only the Dependency warning. But i dont know what u mean with the UI Should work since the install does not work wit hthe 8 Vulnerabilities or am i missing smth? Should i try npm start?
The dependency warnings only highlight vulnerabilities, these have no impact on the functionality of the code. Since the UI (usually) only runs in a local context, the vulnerabilities carry little to no risk.
You should be able to run the UI without issues.
I Started it now. I Only get 1 Error and where can i find the Server since the Adress is kinda confusing is it this adress? http://localhost:3000?backend=ws://localhost:8999
Assuming the League Client was not running the error can be ignored.
The URL is correct (remember to also start the frontend). If you want to test if everything shows up without starting a lobby ingame, you can use a recording by starting the backend with npm start -- --data ../recordings/tournament-draft
alright so i can just copy the adress in my obs and i should work right?
Well i tried to copy the adress in obvs but i dont see the Pick Ban Layout. in the powershell it says "Champ Select Started / Ended" but i dont see the UI?
Do you have the Frontend (\lol-pick-ban-ui-master\layouts\layout-volu-europe) running? Do you see anything when opening the link in a browser?
There is no need to run serve in the default layout, please refer to the documentation. Alternatively, this video covers the installation.
so what is now the issues with this Error? I Started the the npm in bracked and npm install in layouts volu europe
I am still unable to reproduce this on a fresh install.
Please try npm ci
in both the front end and back end folder. If that doesnt work, redownload the source and try again following the steps from the readme.
NVM i fixed it thank u for the help!