Skip to content

facing this error once installing it and opening it, and it doesn't open #1829

Open
@Mukund1046

Description

@Mukund1046

Image

A JavaScript error occurred in the main process
Uncaught Exception:
C:\Users\hp\AppData\Local\Programs@onlookstudio\resources\app.asar\dist-electron\ ...: 4
import { app as Cn, safeStorage as tA, ipcMain as wt, shell as fu, dialog as m7,
BrowserWindow as ig } from "electron";

AAAAAA

P

SyntaxError: Cannot use import statement outside a module
at wrapSafe (node:internal/modules/cjs/loader:1493:18)
at Module. compile (node:internal/modules/cjs/loader:1535:20)

S

at Module. extensions .. js (node:internal/modules/cjs/loader:1722:10)
at Module.load (node:internal/modules/cjs/loader:1296:32)
at Module. load (node:internal/modules/cjs/loader:1115:12)
at c. load (node:electron/js2c/node_init:2:18008)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:227:24)
at cjsLoader (node:internal/modules/esm/translators:266:5)
at ModuleWrap .< anonymous> (node:internal/modules/esm/translators:196:7)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions