We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 930130f commit 652eecdCopy full SHA for 652eecd
1 file changed
src/node-loader.js
@@ -637,6 +637,11 @@ function nodeLoader() {
637
638
window.__TAURI__.path.resolveResource("src-node/index.js")
639
.then(async nodeSrcPath=>{
640
+ // Strip Windows UNC prefix (\\?\) that Tauri adds on Windows
641
+ // Node 24 doesn't handle UNC paths correctly in module resolution
642
+ if (Phoenix.platform === "win" && nodeSrcPath.startsWith('\\\\?\\')) {
643
+ nodeSrcPath = nodeSrcPath.slice(4);
644
+ }
645
if(Phoenix.platform === "linux") {
646
// in linux installed distributions, src-node is present in the same dir as the executable.
647
const cliArgs = await window.__TAURI__.invoke('_get_commandline_args');
0 commit comments