Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

On `macOS`, when I run the project and paste my PAT, I get `window.__TAURI_INTERNALS__ is undefined` error

Abierto
#27 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
angular, tauri, typescript

Línea de trabajo

Empieza ejecutando npm start e inspecciona los errores de la consola del navegador en app.component.ts; después, sigue las llamadas hasta tauri.service.ts, especialmente getRefreshInterval, getAuthStatus y getToken. La corrección estará completa cuando introducir un PAT de GitHub lleve a la siguiente pantalla sin errores de window.__TAURI_INTERNALS__.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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:

  1. Clone the project
  2. Run npm start
  3. Click on button to create on GitHub PAT
  4. 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
Error from Tauri side

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
Lenguaje dominante
TypeScript
Estrellas
5
Forks
1
Merge medio
17 h 8 min
PR fusionados (30 d)
20

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Orange-OpenSource/github-security-alerts

Todos los issues de Orange-OpenSource/github-security-alerts

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.