#blank, empty window after build

4 messages · Page 1 of 1 (latest)

gentle saffron
#

I'm getting a blank window when building a tauri app.
When adding --debug, I get this error in the console which leads nowhere.

Uncaught TypeError: Class extends value undefined is not a constructor or null
at eval (bridge.ts?ed9d:6:29)
at 47294 (index.c18d34a4.js:1258:5)
at __webpack_require__ (index.c18d34a4.js:1716:35)
at eval (index.ts?6f37:2:1)
at 27146 (index.c18d34a4.js:1425:5)
at __webpack_require__ (index.c18d34a4.js:1716:35)
at eval (85628:2:84)
at 85628 (index.c18d34a4.js:1705:5)
at __webpack_require__ (index.c18d34a4.js:1716:35)
` at index.c18d34a4.js:1731:3``

If I try to follow the bridge.ts source, I get the following:

Could not load content for webpack://vue/src/bridge.ts?ed9d (Fetch through target failed: Unsupported URL scheme; Fallback: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME)

The app runs just fine in dev mode, ex. npm run dev

proven pond
#

basically impossible for us to triage without a reproduction example because it's not a Tauri issue but something frontend- or webpack specific.

The only thing google says is that webpack may be too old for some other dependency 🤷

gentle saffron
#

oh, ok, at least it's something to go on

#

thanks a lot