Comments (8)
from tauri.
@8beeeaaat Your @tauri-apps/api
package is outdated. If you update it to v2 beta it should work.
from tauri.
I still can't reproduce this. I even dug out my macos catalina VM to almost match OP's tauri info output but it just works.
Anyone still seeing this, please upload the app that has this issue to github, and describe the exact steps you took that lead to this error.
Also, even though it doesn't seem apply to OP's screenshot, Tauri's ipc only works in actual tauri windows, so if you open your frontend in your normal browser then this error is to be expected...
from tauri.
I still can't reproduce this. I even dug out my macos catalina VM to almost match OP's tauri info output but it just works.
Anyone still seeing this, please upload the app that has this issue to github, and describe the exact steps you took that lead to this error.
Also, even though it doesn't seem apply to OP's screenshot, Tauri's ipc only works in actual tauri windows, so if you open your frontend in your normal browser then this error is to be expected...
I have resolved my problem!
from tauri.
Any update for this problem?
from tauri.
I meet the same problem
from tauri.
Can you 2 also post the output of the tauri info
command please?
from tauri.
I am having the same problem.
Only __TAURI_INTERNALS__
is available in the main window and the @tauri-apps/api invoke() method is not available.
% bun run tauri info
$ tauri info
[✔] Environment
- OS: Mac OS 14.2.1 X64
✔ Xcode Command Line Tools: installed
✔ rustc: 1.76.0 (07dca489a 2024-02-04)
✔ cargo: 1.76.0 (c84b36747 2024-01-18)
✔ rustup: 1.26.0 (2023-04-05)
✔ Rust toolchain: stable-aarch64-apple-darwin (default)
- node: 21.4.0
- npm: 10.2.4
- bun: 1.0.18
[-] Packages
- tauri [RUST]: 2.0.0-beta.10
- tauri-build [RUST]: 2.0.0-beta.8
- wry [RUST]: 0.37.0
- tao [RUST]: 0.26.1
- @tauri-apps/api [NPM]: 1.5.3
- @tauri-apps/cli [NPM]: 2.0.0-beta.8
[-] App
- build-type: bundle
- CSP: unset
- frontendDist: ../dist
- devUrl: http://localhost:1420/
- framework: React (Next.js)
- bundler: Vite
from tauri.
Related Issues (20)
- [bug] [macOS] file drop on titlebar
- [bug] Webpack error on blank tauri project with nextJS HOT 1
- [feat] Add option to control compression mode and level for Linux bundles
- [feat] Integrate skia for UI processing on mobile/desktop apps in tauri 2.0 HOT 3
- [bug] Unhandled Promise Rejection: Scope not defined for URL HOT 2
- [bug] Tauri 2: iOS app's bundle identifier does not use tauri.conf.json HOT 5
- [bug] IOS Asset Validation error, missing storyboard? HOT 3
- [feat] Integrated browser engine configurable HOT 2
- [bug] app_data_dir directory is not created HOT 1
- [bug] Failed to set the http scope of plugins HOT 2
- [bug] There are problems with LogicalPosition and PhysicalPosition in v2 HOT 1
- [bug] pnpm/cargo tauri ios dev -> xcodebuild error: no destination and action build HOT 1
- #Please help me Nextjs fans, been getting this error in production but runs smoothly in development
- [bug] Unable to load custom URI scheme HOT 3
- [feat] an option to not create a start menu folder for nsis installer HOT 5
- [bug] There is an issue with the window dragging size in the v2 version. HOT 1
- [bug] thread 'main' has overflowed its stack (Windows 11 Tauri v2 beta) HOT 4
- [feat] Is it possible to add a window rounded corner configuration option to the tuari:windows configuration of the tuari.conf.json file? HOT 1
- [feat] Avoid calling `convertFileSrc` twice.
- [bug] FileDialogBuilder accepts non-existing files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tauri.