#Failed to fetch stock data: TypeError: window.__TAURI_IPC__ is not a function

3 messages · Page 1 of 1 (latest)

lyric mason
#

window.__TAURI_IPC__ is only injected in Tauri's webviews meaning that if you open your dev server's url in a browser then you won't have access to it 😉

lyric mason
#

Your React app cannot use window.__TAURI_IPC__ outside of Tauri's webviews, so you can only use it from the "desktop" app, not a browser

finite wedge
#

hi @elfin osprey do you successfully resolved the issue? i try to find the answer everywhere but still haven't yet found the solution