SteamClientHomebrew / Millennium

Apply themes/skins/customize Steam® after the 2023-04-27 Chromium UI update
https://steambrew.app
MIT License
1.05k stars 18 forks source link

[Bug] index.js not created during bootstrapping process #126

Closed aestellic closed 2 weeks ago

aestellic commented 2 weeks ago

Before Reporting

Describe the Bug

Upon fresh installation of Millennium (both manual and automatic) on Windows, C:\Program Files (x86)\Steam\ext\data\assets\.millennium\Dist\index.js is not created, thus preventing the Millennium UI from appearing within Steam's settings page.

Millennium console log:

PS C:\Users\stells> iwr -useb "https://raw.githubusercontent.com/SteamClientHomebrew/Millennium/main/scripts/install.ps1" | iex
++ Installing Packages (Windows) Millennium@v2.12.1

:: Total Download Size:   22.68 MiB
:: Retreiving packages...

(1/2) Downloading millennium-v2.12.1-windows-x86_64...                  22.68 MiB [##############################] 100%
(2/2) Unpacking Assets...                                                         [##############################] 100%

:: Total Installed Size:   51.96 MiB to disk.
:: Verifying post installation medium....

(1/1) verifying millennium-v2.12.1-windows-x86_64

:: Wrote configuration to c:\program files (x86)\steam\ext\millennium.ini

:: Verifying runtime environment...
:: Millennium will now start bootstrapping Steam, expect to see Millennium logs below.
++ If you face any issues while verifying, please report them on the GitHub repository.
++ https://github.com/SteamClientHomebrew/Millennium/issues/new/choose

[23:01.630] INFO Millennium@v2.12.1 is up to date.
[23:01.633] INFO Ports: { FTP: 51244, IPC: 51250 }
[23:01.634] INFO Plugins: { core: Enabled }
[23:01.634] INFO Verifying Python environment...
[23:01.671] INFO Starting plugin backends...
[23:01.671] INFO Opting to use '8080' for SteamDBG port
[23:01.671] INFO Created thread 3936307252 for plugin 'pipx'
[23:01.672] INFO Starting frontend socket...
[23:01.672] INFO Startup took 323 ms
[23:01.682] INFO Started preloader module
[23:01.955] INFO Connected to Steam @ 0x10d7f110
[23:01.956] INFO Connected to SharedJSContext in 0 ms
[23:01.956] INFO Preparing to injecting frontend shims...
[23:02.064] PIPX Starting Package Manager...
[23:02.074] PIPX checking for packages on Windows
[23:02.082] PIPX Installing packages: ['arrow', 'psutil', 'pywin32', 'requests', 'winrt-Windows.UI.ViewManagement', 'winrt-Windows.UI', 'pygit2', 'cssutils', 'websockets', 'watchdog']
[23:02.112] INFO Successfully sent debugger pause...
[23:02.112] INFO Debugger has paused!
[23:02.113] INFO Ready to inject shims!
[23:02.113] INFO Registering for load event @ 0x113dfa10
[23:04.064] PIPX Collecting arrow
[23:04.066] PIPX   Using cached arrow-1.3.0-py3-none-any.whl.metadata (7.5 kB)
[23:04.199] PIPX Collecting psutil
[23:04.201] PIPX   Using cached psutil-6.0.0-cp37-abi3-win32.whl.metadata (22 kB)
[23:04.255] PIPX Collecting pywin32
[23:04.257] PIPX   Using cached pywin32-307-cp311-cp311-win32.whl.metadata (8.3 kB)
[23:04.324] PIPX Collecting requests
[23:04.326] PIPX   Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
[23:04.362] PIPX Collecting winrt-Windows.UI.ViewManagement
[23:04.364] PIPX   Using cached winrt_Windows.UI.ViewManagement-2.2.0-cp311-cp311-win32.whl.metadata (1.5 kB)
[23:04.398] PIPX Collecting winrt-Windows.UI
[23:04.400] PIPX   Using cached winrt_Windows.UI-2.2.0-cp311-cp311-win32.whl.metadata (899 bytes)
[23:04.481] PIPX Collecting pygit2
[23:04.483] PIPX   Using cached pygit2-1.15.1-cp311-cp311-win32.whl.metadata (3.4 kB)
[23:04.550] PIPX Collecting cssutils
[23:04.552] PIPX   Using cached cssutils-2.11.1-py3-none-any.whl.metadata (8.7 kB)
[23:04.672] PIPX Collecting websockets
[23:04.674] PIPX   Using cached websockets-13.1-cp311-cp311-win32.whl.metadata (7.0 kB)
[23:04.748] PIPX Collecting watchdog
[23:04.750] PIPX   Using cached watchdog-5.0.3-py3-none-win32.whl.metadata (41 kB)
[23:04.815] PIPX Collecting python-dateutil>=2.7.0 (from arrow)
[23:04.816] PIPX   Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
[23:04.861] PIPX Collecting types-python-dateutil>=2.8.10 (from arrow)
[23:04.863] PIPX   Using cached types_python_dateutil-2.9.0.20241003-py3-none-any.whl.metadata (1.9 kB)
[23:04.954] PIPX Collecting charset-normalizer<4,>=2 (from requests)
[23:04.956] PIPX   Using cached charset_normalizer-3.3.2-cp311-cp311-win32.whl.metadata (34 kB)
[23:05.005] PIPX Collecting idna<4,>=2.5 (from requests)
[23:05.007] PIPX   Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
[23:05.079] PIPX Collecting urllib3<3,>=1.21.1 (from requests)
[23:05.081] PIPX   Using cached urllib3-2.2.3-py3-none-any.whl.metadata (6.5 kB)
[23:05.138] PIPX Collecting certifi>=2017.4.17 (from requests)
[23:05.139] PIPX   Using cached certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
[23:05.186] PIPX Collecting winrt-runtime==2.2.0 (from winrt-Windows.UI.ViewManagement)
[23:05.187] PIPX   Using cached winrt_runtime-2.2.0-cp311-cp311-win32.whl.metadata (733 bytes)
[23:05.349] PIPX Collecting cffi>=1.16.0 (from pygit2)
[23:05.351] PIPX   Using cached cffi-1.17.1-cp311-cp311-win32.whl.metadata (1.6 kB)
[23:05.386] PIPX Collecting more-itertools (from cssutils)
[23:05.388] PIPX   Using cached more_itertools-10.5.0-py3-none-any.whl.metadata (36 kB)
[23:05.439] PIPX Collecting pycparser (from cffi>=1.16.0->pygit2)
[23:05.441] PIPX   Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
[23:05.489] PIPX Collecting six>=1.5 (from python-dateutil>=2.7.0->arrow)
[23:05.491] PIPX   Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
[23:05.506] PIPX Using cached arrow-1.3.0-py3-none-any.whl (66 kB)
[23:05.508] PIPX Using cached psutil-6.0.0-cp37-abi3-win32.whl (253 kB)
[23:05.510] PIPX Using cached pywin32-307-cp311-cp311-win32.whl (5.9 MB)
[23:05.514] PIPX Using cached requests-2.32.3-py3-none-any.whl (64 kB)
[23:05.515] PIPX Using cached winrt_Windows.UI.ViewManagement-2.2.0-cp311-cp311-win32.whl (92 kB)
[23:05.517] PIPX Using cached winrt_runtime-2.2.0-cp311-cp311-win32.whl (183 kB)
[23:05.519] PIPX Using cached winrt_Windows.UI-2.2.0-cp311-cp311-win32.whl (44 kB)
[23:05.521] PIPX Using cached pygit2-1.15.1-cp311-cp311-win32.whl (1.2 MB)
[23:05.523] PIPX Using cached cssutils-2.11.1-py3-none-any.whl (385 kB)
[23:05.525] PIPX Using cached websockets-13.1-cp311-cp311-win32.whl (158 kB)
[23:05.526] PIPX Using cached watchdog-5.0.3-py3-none-win32.whl (79 kB)
[23:05.528] PIPX Using cached certifi-2024.8.30-py3-none-any.whl (167 kB)
[23:05.530] PIPX Using cached cffi-1.17.1-cp311-cp311-win32.whl (171 kB)
[23:05.531] PIPX Using cached charset_normalizer-3.3.2-cp311-cp311-win32.whl (92 kB)
[23:05.533] PIPX Using cached idna-3.10-py3-none-any.whl (70 kB)
[23:05.535] PIPX Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
[23:05.537] PIPX Using cached types_python_dateutil-2.9.0.20241003-py3-none-any.whl (9.7 kB)
[23:05.538] PIPX Using cached urllib3-2.2.3-py3-none-any.whl (126 kB)
[23:05.540] PIPX Using cached more_itertools-10.5.0-py3-none-any.whl (60 kB)
[23:05.542] PIPX Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
[23:05.543] PIPX Using cached pycparser-2.22-py3-none-any.whl (117 kB)
[23:05.792] PIPX Installing collected packages: pywin32, winrt-runtime, websockets, watchdog, urllib3, types-python-dateutil, six, pycparser, psutil, more-itertools, idna, charset-normalizer, certifi, winrt-Windows.UI.ViewManagement, winrt-Windows.UI, requests, python-dateutil, cssutils, cffi, pygit2, arrow
[23:12.283] PIPX Successfully installed arrow-1.3.0 certifi-2024.8.30 cffi-1.17.1 charset-normalizer-3.3.2 cssutils-2.11.1 idna-3.10 more-itertools-10.5.0 psutil-6.0.0 pycparser-2.22 pygit2-1.15.1 python-dateutil-2.9.0.post0 pywin32-307 requests-2.32.3 six-1.16.0 types-python-dateutil-2.9.0.20241003 urllib3-2.2.3 watchdog-5.0.3 websockets-13.1 winrt-Windows.UI-2.2.0 winrt-Windows.UI.ViewManagement-2.2.0 winrt-runtime-2.2.0
[23:12.589] PIPX Finished in 10523.98 ms
[23:12.589] INFO Preloader finished...
[23:12.589] INFO Notified plugin [pipx] to shut down...
[23:12.589] INFO Trying to join thread 3936307252...
[23:12.589] INFO Orphaned 'pipx', jumping off the mutex lock...
[23:12.590] INFO Shutting down plugin 'pipx'
[23:12.594] INFO Ended sub-interpreter...
[23:12.594] INFO Shut down plugin 'pipx'
[23:12.595] INFO Successfully joined thread
[23:12.595] INFO Starting backends...
[23:12.595] INFO Created thread 851657339 for plugin 'core'
[23:12.632] CORE Loading Millennium-Core@v2.12.1
[23:13.331] CORE Ready in 714.164 milliseconds!
[23:13.331] INFO Successfully loaded 'core'
[23:13.333] INFO Finished preparing backends...
[23:13.333] INFO Notifying frontend of backend load...
[23:13.333] INFO Successfully resumed debugger, injecting shims...
[23:13.338] INFO Successfully injected shims, updating state...
[23:13.338] INFO Successfully notified frontend...
[23:14.899] ERROR failed to open file -> C:\program files (x86)\steam\ext\data\assets\.millennium\Dist\index.js
[23:14.899] TRACE std::string SystemIO::ReadFileSync(const std::string&) @ D:/a/Millennium/Millennium/src/sys/io.cc:94
[23:32.232] INFO Disconnected from [CEFBrowser] module...
[23:32.283] WARN Unexpectedly Disconnected from Steam, attempting to reconnect...
[23:32.283] INFO Opting to use '8080' for SteamDBG port
[23:32.283] INFO Starting frontend socket...
[23:32.283] INFO Startup took 30934 ms
[23:33.034] MAIN Shutting down Millennium...
Millennium Closed.

Web developer console log:

library.js:2 Storing new config params ?LOCAL_HOSTNAME=stellsW11&LANGUAGE=english&COUNTRY=US&LAUNCHER_TYPE=0&CLIENT_SESSION=1728260623&IN_CLIENT=true&USE_POPUPS=true&IN_STEAMUI_SHARED_CONTEXT=true&PLATFORM=windows&DEV_MODE=true&SHOW_CONSOLE=true
library.js:2 setting locale: en
VM13:7  Millennium  Successfully connected to IPC server.
library.js:2 websocket open
library.js:2 connection ready
library.js:2 websocket open
library.js:2 connection ready
library.js:2 Connection status: connected
chunk~2dcc5aaf7.js?c…b912b6cb445537b20:1 SteamApp Init - WebUI Transport - 457.1ms
library.js:2 font-family: monospace; background: black; color: white; font-weight: normal; padding: 0 1ch; border: solid 1px #666
chunk~2dcc5aaf7.js?c…b912b6cb445537b20:1 Init localization english
VM13:76  Millennium  Ready to inject shims...
library.js:2 OnLoginStateChange itsoalo 7 1 0 0
chunk~2dcc5aaf7.js?c…b912b6cb445537b20:1 SteamApp Init - Before Login - 122.8ms
chunk~2dcc5aaf7.js?c…b912b6cb445537b20:1 Init localization english
chunk~2dcc5aaf7.js?c…b912b6cb445537b20:1 CloudStorage resuming with 34 entries (0 modified) for namespace 1
library.js:2 OnLoginStateChange itsoalo 7 1 0 0
/appdetails/achievement_progress.json:1  Failed to load resource: the server responded with a status of 404 (Not Found)
localhost:51283/_int…ium/Dist/index.js:1  Failed to load resource: the server responded with a status of 404 (Not Found)
chunk~2dcc5aaf7.js?c…b912b6cb445537b20:1 CAppStore Init: 191.8359375 ms
chunk~2dcc5aaf7.js?c…b912b6cb445537b20:1 SteamApp Init - After Login - Stage 1 - 192.2ms
chunk~2dcc5aaf7.js?c…b912b6cb445537b20:1 SteamApp Init - After Login - Friend Store - 73.2ms
chunk~2dcc5aaf7.js?c…b912b6cb445537b20:1 SteamApp Init - After Login - Collection Store - 109.6ms
chunk~2dcc5aaf7.js?c…b912b6cb445537b20:1 CUIStore Init: 25.02197265625 ms
chunk~2dcc5aaf7.js?c…b912b6cb445537b20:1 FriendsUI ReadyToRender - 839.9ms
chunk~2dcc5aaf7.js?c…b912b6cb445537b20:1 Ready To Render promises succeeded
chunk~2dcc5aaf7.js?c…b912b6cb445537b20:1 FriendsUI ready to render after 1642.3000000000466ms
chunk~2dcc5aaf7.js?c…b912b6cb445537b20:1 SteamApp Init - After Login - Stage 2 - 408.6ms
chunk~2dcc5aaf7.js?c…b912b6cb445537b20:1 SteamApp Init - After Login: 785.80712890625 ms
chunk~2dcc5aaf7.js?c…b912b6cb445537b20:1 SteamApp Init: 680.45703125 ms
chunk~2dcc5aaf7.js?c…b912b6cb445537b20:1 FriendsUI is now ready, processing pended desired persona state 0
chunk~2dcc5aaf7.js?c…b912b6cb445537b20:1 Library Init: 0.364990234375 ms
2
chunk~2dcc5aaf7.js?c…b912b6cb445537b20:1 Fetching PlayNext with ignore list: 792640,438100
DevTools failed to load source map: Could not load content for file:///home/buildbot/buildslave/npm-coordinator-rel-steamui/build/client/steamui/sourcemaps/libraries/libraries~00299a408.js.map: Unknown error
DevTools failed to load source map: Could not load content for file:///home/buildbot/buildslave/npm-coordinator-rel-steamui/build/client/steamui/sourcemaps/library.js.map: Unknown error
DevTools failed to load source map: Could not load content for file:///home/buildbot/buildslave/npm-coordinator-rel-steamui/build/client/steamui/sourcemaps/sp.js.map: Unknown error
DevTools failed to load source map: Could not load content for file:///home/buildbot/buildslave/npm-coordinator-rel-steamui/build/client/steamui/sourcemaps/libraries/libraries~2dcc5aaf7.js.map: Unknown error
DevTools failed to load source map: Could not load content for file:///home/buildbot/buildslave/npm-coordinator-rel-steamui/build/client/steamui/sourcemaps/chunk~2dcc5aaf7.js.map: Unknown error
DevTools failed to load source map: Could not load content for file:///home/buildbot/buildslave/npm-coordinator-rel-steamui/build/client/steamui/sourcemaps/gamerecording.js.map: Unknown error
DevTools failed to load source map: Could not load content for file:///home/buildbot/buildslave/npm-coordinator-rel-steamui/build/client/steamui/sourcemaps/css/library.css.map: Unknown error
DevTools failed to load source map: Could not load content for file:///home/buildbot/buildslave/npm-coordinator-rel-steamui/build/client/steamui/sourcemaps/css/gamerecording.css.map: Unknown error
DevTools failed to load source map: Could not load content for file:///home/buildbot/buildslave/npm-coordinator-rel-steamui/build/client/steamui/sourcemaps/css/chunk~2dcc5aaf7.css.map: Unknown error

image

Expected Behavior

Installation completes successfully and index.js is generated

Steps To Reproduce

  1. Install Millennium (either automatically or manually)
  2. Observe error in logs
  3. Profit.

Operating System

Windows

Anything else?

No response

shdwmtr commented 2 weeks ago

Odd, It seems the CI isnt including it. I'll have it fixed ASAP

ZYPERzys commented 2 weeks ago

im having the same error

shdwmtr commented 2 weeks ago

Github decided they were randomly going to make breaking changes in their upload-artifact CI integration, without versioning they were going to do so. They changed it to exclude hidden files (i.e ones that start with "." so it excluded .millennium). They really threw me for a loop here lol.

https://github.com/actions/upload-artifact/issues/602

A fix is releasing as we speak https://github.com/SteamClientHomebrew/Millennium/actions/runs/11207006323

ZYPERzys commented 2 weeks ago

I tried and it worked, thank you so much for the quick response!