Skip to content

electron+typescript build err #14819

@orangebom

Description

@orangebom

Description

Project Build Options:
53e7b908cc30a911f0cc1ffd66dd19b
after run command:

quasar build -m electron

report error:

App • ⚠️   FAIL  electron-packager could not build

Error: ENOTEMPTY: directory not empty, rmdir 'C:\Users\ORANGE~1\AppData\Local\Temp\electron-packager\win32-x64\Quasar App-win32-x64'

node:internal/process/promises:279
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[  UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block,   or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "undefined".    
] {
  code: 'ERR_UNHANDLED_REJECTION'
}

env:

"quasar": "^2.6.0",
"vue": "^3.0.0",
"electron": "^21.2.2",
"eslint": "^8.10.0",
"@quasar/app-webpack": "^3.0.0",
"@types/node": "^12.20.21",

pc:
Windows 10 19043.2130
ps:
It is normal to create using javascript and can generate an exe

Documentation Section URL

No response

Flavour

No response

Areas

TypeScript Support

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions