Replying to Avatar AsaiToshiya

```

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

> app@1.0.0 make C:\path\to\app

> electron-forge make

✔ Checking your system

✔ Loading configuration

✔ Resolving make targets

› Making for the following targets: squirrel

❯ Running package command

✔ Preparing to package application

✔ Running packaging hooks

✔ Running generateAssets hook

✔ Running prePackage hook

❯ Packaging application

❯ Packaging for x64 on win32

✖ Copying files

› Failed to locate module "debug" from "C:\path\to\app\node_modules\electron-squirrel-startup"

This normally means that either you have deleted this package already somehow (c…

◼ Preparing native dependencies

◼ Finalizing package

◼ Running postPackage hook

◼ Running preMake hook

◼ Making distributables

◼ Running postMake hook

An unhandled rejection has occurred inside Forge:

Error: Failed to locate module "debug" from "C:\path\to\app\node_modules\electron-squirrel-startup"

This normally means that either you have deleted this package already somehow (check your ignore settings if using electron-packager). Or your module installation failed.

at Walker.walkDependenciesForModuleInModule (C:\path\to\app\node_modules\.pnpm\flora-colossus@2.0.0\node_modules\flora-colossus\lib\Walker.js:57:19)

at async Walker.walkDependenciesForModule (C:\path\to\app\node_modules\.pnpm\flora-colossus@2.0.0\node_modules\flora-colossus\lib\Walker.js:113:13)

at async Walker.walkDependenciesForModuleInModule (C:\path\to\app\node_modules\.pnpm\flora-colossus@2.0.0\node_modules\flora-colossus\lib\Walker.js:63:13)

at async Walker.walkDependenciesForModule (C:\path\to\app\node_modules\.pnpm\flora-colossus@2.0.0\node_modules\flora-colossus\lib\Walker.js:113:13)

at async C:\path\to\app\node_modules\.pnpm\flora-colossus@2.0.0\node_modules\flora-colossus\lib\Walker.js:133:21

ELIFECYCLE  Command failed with exit code 1.

```

#electron

https://stackoverflow.com/questions/53935467/can-not-find-module-debug

Reply to this note

Please Login to reply.

Discussion

No replies yet.