Describe the bug
Hello
I have problem with generating a static devtools output. As far as I understand, it could be possible do generate plain html/js/css files, upload them to any hosting and view as standard website.
However, the website looks like only the shell was loaded and few errors were printed in browser's conosole:
installHook.js:1 Error getting server state TypeError: (0 , xe.createHash) is not a function
at De (index-BWe-SLf4.js:2:4176)
at Oe (index-BWe-SLf4.js:2:4300)
at ke (index-BWe-SLf4.js:2:4332)
at s (index-BWe-SLf4.js:5:36637)
at Object.call (index-BWe-SLf4.js:5:36991)
at Object.call (index-BWe-SLf4.js:5:37284)
at u (index-BWe-SLf4.js:5:35299)
at index-BWe-SLf4.js:5:35613
at new Promise (<anonymous>)
at Object.get (index-BWe-SLf4.js:5:35585)
overrideMethod @ installHook.js:1Understand this error
index-BWe-SLf4.js:5 Uncaught (in promise) Error: [devtools-rpc] No dump match for "devtoolskit:internal:messages:list" with args: [null]
at s (index-BWe-SLf4.js:5:36522)
at Object.call (index-BWe-SLf4.js:5:36991)
at Object.call (index-BWe-SLf4.js:5:37284)
at a (MessageItem-BmTHuEs5.js:1:19643)
at MessageItem-BmTHuEs5.js:1:20114
Reproduction
- Clone repo https://github.com/arkadiusz-swierczek-pm/vite-devtools-static-build. 2. Run
npm run build; npx serve .\custom-dir\
System Info
System:
OS: Windows 11 10.0.26200
CPU: (12) x64 Intel(R) Core(TM) i7-10850H CPU @ 2.70GHz
Memory: 15.74 GB / 31.61 GB
Binaries:
Node: 24.14.0 - C:\Program Files\nodejs\node.EXE
npm: 11.9.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 148.0.7778.97
Edge: Chromium (146.0.3856.109)
Firefox: 148.0 - C:\Program Files\Mozilla Firefox\firefox.exe
Used Package Manager
npm
Validations
Describe the bug
Hello
I have problem with generating a static devtools output. As far as I understand, it could be possible do generate plain html/js/css files, upload them to any hosting and view as standard website.
However, the website looks like only the shell was loaded and few errors were printed in browser's conosole:
Reproduction
npm run build; npx serve .\custom-dir\System Info
System: OS: Windows 11 10.0.26200 CPU: (12) x64 Intel(R) Core(TM) i7-10850H CPU @ 2.70GHz Memory: 15.74 GB / 31.61 GB Binaries: Node: 24.14.0 - C:\Program Files\nodejs\node.EXE npm: 11.9.0 - C:\Program Files\nodejs\npm.CMD Browsers: Chrome: 148.0.7778.97 Edge: Chromium (146.0.3856.109) Firefox: 148.0 - C:\Program Files\Mozilla Firefox\firefox.exeUsed Package Manager
npm
Validations