Electron Forge には asar が必要っぽい

```

C:\path\to\app>npm run make

npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.

> app@1.0.0 make

> electron-forge make

✔ Checking your system

✖ Loading configuration

› The AutoUnpackNatives plugin requires asar to be truthy or an object

◼ Resolving make targets

◼ Running package command

◼ Running preMake hook

◼ Making distributables

◼ Running postMake hook

An unhandled rejection has occurred inside Forge:

Error: The AutoUnpackNatives plugin requires asar to be truthy or an object

at AutoUnpackNativesPlugin.resolveForgeConfig (C:\path\to\app\node_modules\@electron-forge\plugin-auto-unpack-natives\dist\AutoUnpackNativesPlugin.js:14:23)

at PluginInterface.triggerMutatingHook (C:\path\to\app\node_modules\@electron-forge\core\dist\util\plugin-interface.js:100:41)

at runMutatingHook (C:\path\to\app\node_modules\@electron-forge\core\dist\util\hook.js:55:40)

at exports.default (C:\path\to\app\node_modules\@electron-forge\core\dist\util\forge-config.js:161:60)

at async Task.task (C:\path\to\app\node_modules\@electron-forge\core\dist\api\make.js:67:35)

at async Task.run (C:\path\to\app\node_modules\listr2\dist\index.cjs:978:11)

at async C:\path\to\app\node_modules\p-map\index.js:57:22

```

#electron

Reply to this note

Please Login to reply.

Discussion

No replies yet.