ReferenceError: remote не определен — разработка Evolus Pencil
Я скачал Pencil-development, но не могу запустить его в VSCode. Сообщение приходит от electronic\resources\default_app.asar\main.js во время loadApplicationPackage.
Любая помощь в запуске этого под VScode приветствуется. ТКС, Пол
==>VSCode-About
VisualStudioCode--Version: 1.74.3 (system setup)
Date: 2023-01-09T16:59:02.252Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT x64 10.0.19044
Sandboxed: No
==> launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Main Process",
"type": "node",
"request": "launch",
"cwd": "C:\\H_Paul\\Pencil\\electron-v22.0.3-win32-x64",
"env": {
"Path": "C:\\H_Paul\\Pencil\\electron-v22.0.3-win32-x64\\node_modules\\app\\.bin;${env:Path}"
},
"runtimeExecutable": "C:\\H_Paul\\Pencil\\electron-v22.0.3-win32-x64\\electron.exe",
"args" : ["C:\\H_Paul\\Pencil\\pencil-development\\app\\app.js"],
"outputCapture": "std"
}
]
}
==> debug console
C:\H_Paul\Pencil\electron-v22.0.3-win32-x64\electron.exe C:\H_Paul\Pencil\pencil-development\app\app.js
Debugger listening on ws://127.0.0.1:61905/92a1894d-8337-4202-be16-ce48bcbed975
Debugger attached.
App threw an error during load
ReferenceError: remote is not defined
at Object.<anonymous> (C:\H_Paul\Pencil\pencil-development\app\app.js:16:24)
==>app.js the offending line of code
16 const dialog = remote.dialog;