We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1663426 commit 6818345Copy full SHA for 6818345
1 file changed
test/index.html
@@ -41,6 +41,11 @@
41
let commandId = 0, pendingCommands = {};
42
if(window.__TAURI__){
43
window.__TAURI__.path.resolveResource("node-src/index.js").then(async nodeSrcPath=>{
44
+ // Strip Windows UNC prefix (\\?\) that Tauri adds on Windows
45
+ // Node 24 doesn't handle UNC paths correctly in module resolution
46
+ if (window.IS_WINDOWS && nodeSrcPath.startsWith('\\\\?\\')) {
47
+ nodeSrcPath = nodeSrcPath.slice(4);
48
+ }
49
command = new window.__TAURI__.shell.Command('node', ['--inspect', nodeSrcPath]);
50
command.on('close', data => {
51
window.isNodeTerminated = true;
0 commit comments