#⨯ ReferenceError: window is not defined
4 messages · Page 1 of 1 (latest)
It should work if you change this import: ts import { invoke } from "@tauri-apps/api"; to this ```ts
import { invoke } from "@tauri-apps/api/tauri";
ah no, the shell import also triggers it. Try changing it to import the inner items instead of the whole module so for example ```ts
import { Command } from "@tauri-apps/api/shell";