On `macOS`, when I run the project and paste my PAT, I get `window.__TAURI_INTERNALS__ is undefined` error
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- angular, tauri, typescript
- Lĩnh vực
- authentication, desktop
Hướng nghiên cứu
Bắt đầu bằng cách chạy npm start và kiểm tra các lỗi trong console của trình duyệt ở app.component.ts, sau đó lần theo các lệnh gọi đến tauri.service.ts, đặc biệt là getRefreshInterval, getAuthStatus và getToken. Việc sửa lỗi hoàn tất khi nhập GitHub PAT đưa đến màn hình tiếp theo mà không có lỗi window.__TAURI_INTERNALS__.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
As a developer,
When I run the npm start command and paste the GitHub PAT in the web browser window
I get a window.__TAURI_INTERNALS__ is undefinederror and cannot be authenticated
To Reproduce
Steps to reproduce the behavior:
- Clone the project
- Run
npm start - Click on button to create on GitHub PAT
- Copy/paste to the field the PAT
Expected behavior
I should go to the next screen of the app when the token is validated
Screenshots
Additional context
- OS:
macOS Tahoe 26.3.1 - Web browser for PAT:
Firefox 150.0 (aarch64) - Rust version:
rustc 1.95.0 (59807616e 2026-04-14) - Node version:
v24.9.0 - NPM version:
11.6.0 - Project version:
[email protected]
Browser console logs
Failed to load refresh interval from config, using default: TypeError: can't access property "invoke", window.__TAURI_INTERNALS__ is undefined
invoke core.js:202
Angular 3
invoke core.js:201
getRefreshInterval tauri.service.ts:149
__async main.js:23
ZoneAwarePromise Angular
__async main.js:7
getRefreshInterval main.js:241
loadRefreshIntervalFromConfig app.component.ts:77
__async main.js:23
ZoneAwarePromise Angular
__async main.js:7
loadRefreshIntervalFromConfig main.js:3432
ngOnInit app.component.ts:93
__async main.js:23
ZoneAwarePromise Angular
__async main.js:7
ngOnInit main.js:3451
Angular 45
<anonymous> main.ts:23
[app.component.ts:79:15](http://localhost:4200/src/app/app.component.ts)
Error checking auth status: TypeError: can't access property "invoke", window.__TAURI_INTERNALS__ is undefined
invoke core.js:202
Angular 3
invoke core.js:201
getAuthStatus tauri.service.ts:59
__async main.js:23
ZoneAwarePromise Angular
__async main.js:7
getAuthStatus main.js:141
checkAuthStatus app.component.ts:102
__async main.js:23
ZoneAwarePromise Angular
__async main.js:7
checkAuthStatus main.js:3458
ngOnInit app.component.ts:94
fulfilled main.js:10
Angular 20
<anonymous> main.ts:23
[app.component.ts:119:15](http://localhost:4200/src/app/app.component.ts)
Error getting token: TypeError: can't access property "invoke", window.__TAURI_INTERNALS__ is undefined
invoke core.js:202
Angular 3
invoke core.js:201
getToken tauri.service.ts:63
__async main.js:23
ZoneAwarePromise Angular
__async main.js:7
getToken main.js:146
checkAuthStatus app.component.ts:122
rejected main.js:17
Angular 20
<anonymous> main.ts:23
- Maybe related to this bug in Tauri side: https://github.com/tauri-apps/tauri/issues/8369
- Ngôn ngữ chính
- TypeScript
- Star
- 5
- Fork
- 1
- Merge trung bình
- 17 giờ 8 phút
- Pull request đã merge (30 ngày)
- 20
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Orange-OpenSource/github-security-alerts
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Orange-OpenSource/github-security-alerts#20 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
In `project documentation`, add more details for `macOS` users about how to run the app (suggestion)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Orange-OpenSource/github-security-alerts#16 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
Orange-OpenSource/github-security-alerts#42 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
Orange-OpenSource/github-security-alerts#29 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Orange-OpenSource/github-security-alerts#24 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Orange-OpenSource/github-security-alerts
Issue tương tự
-
Add: Tequila Music TV RO SDĐang mởcheck:passed streams:add
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
iptv-org/iptv#55821 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
vercel-labs/wterm#246 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
nearform/lastlight#452 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
fix(console): include PARTITIONED BY in generated table DDLCó thể đã có người làm @aubdiy đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
apache/polaris-tools#291 ·
Maintainer thường phản hồi trong vòng 6 ngày