#1570·nativefier

Creation fail

Author: LeOS-GSICreated Sep 2, 2023Updated Sep 2, 2023
Labelsbug

Homework

Nativefier command

leos@LG:~$ nativefier --name 'LeOS GSI' 'leos-gsi.de'

Steps to reproduce

Packaging... This will take a few seconds, maybe minutes if the requested Electron isn't cached yet... (node:20079) UnhandledPromiseRejectionWarning: TypeError: fs.rm is not a function at remove (/usr/local/lib/node_modules/nativefier/node_modules/fs-extra/lib/remove/index.js:7:6) at remove (/usr/local/lib/node_modules/nativefier/node_modules/universalify/index.js:5:57) at doRename (/usr/local/lib/node_modules/nativefier/node_modules/fs-extra/lib/move/move.js:44:12) at /usr/local/lib/node_modules/nativefier/node_modules/fs-extra/lib/move/move.js:29:16 at /usr/local/lib/node_modules/nativefier/node_modules/universalify/index.js:22:54 (node:20079) UnhandledPromiseRejectionWarning: Unhandled promise rejection. 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3) (node:20079) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Expected behavior

no error

Actual behavior

error

Debug info

No response

Nativefier version

52.0.0

Node.js version

12.22.9~dfsg-1ubuntu3

npm version

8.5.1

OS

Linux Mint 21.2 Cinnamon