Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: A JavaScript error occurred in the main process #1683

Open
3 tasks
etornam45 opened this issue Jan 4, 2025 · 1 comment
Open
3 tasks

[Bug]: A JavaScript error occurred in the main process #1683

etornam45 opened this issue Jan 4, 2025 · 1 comment
Labels
bug Something isn't working triage Needs triage

Comments

@etornam45
Copy link

Current Behavior

Screenshot 2025-01-04 at 1 56 19 AM

A JavaScript error occurred in the main process

Uncaught Exception:
Error: EACCES: permission denied, mkdir '/Users/macbookprom1/.config/waveterm'
at mkdirSync (node:fs:1371:26)
at ensurePathExists (file:///Applications/Wave.app/Contents/Resources/app.asar/dist/main/index.js:23101:5)
at getWaveConfigDir (file:///Applications/Wave.app/Contents/Resources/app.asar/dist/main/index.js:23120:10)
at file:///Applications/Wave.app/Contents/Resources/app.asar/dist/main/index.js:45896:23
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24)
at async node:electron/js2c/browser_init:2:129567
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:137:5)

Expected Behavior

Get a a working app

Steps To Reproduce

Download the dmg
Install the dmg file
then run the software

Wave Version

v0.10.4

Platform

macOS

OS Version/Distribution

MacOS Sonoma

Architecture

arm64

Anything else?

This is the error I received after installing and running the app.

Questionnaire

  • I'm interested in fixing this myself but don't know where to start
  • I would like to fix and I have a solution
  • I don't have time to fix this right now, but maybe later
@etornam45 etornam45 added bug Something isn't working triage Needs triage labels Jan 4, 2025
@esimkowitz
Copy link
Member

can you check what the permissions are on your .config folder? your user needs full read/write permissions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Needs triage
Projects
None yet
Development

No branches or pull requests

2 participants