Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails: electron-builder 17.5.0, 17.8.0: cannot find module 'debug' #1564

Closed
d9k opened this issue May 19, 2017 · 2 comments · May be fixed by qcif/data-curator#563
Closed

Build fails: electron-builder 17.5.0, 17.8.0: cannot find module 'debug' #1564

d9k opened this issue May 19, 2017 · 2 comments · May be fixed by qcif/data-curator#563

Comments

@d9k
Copy link

d9k commented May 19, 2017

  • Version: 17.8.0, 17.5.0
  • Electron version: 1.6.7
  • Target: Windows 7 x64
> node_modules\.bin\build
Rebuilding native production dependencies for win32:x64
Error: Cannot find module 'debug'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at _load_debug (C:\cr\MyElectronApp\node_modules\electron-builder\out\targets\nsis.js:25:45)
    at Object.<anonymous> (C:\cr\MyElectronApp\node_modules\electron-builder\src\targets\nsis.ts:21:19)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at _load_nsis (C:\cr\MyElectronApp\node_modules\electron-builder\out\winPackager.js:93:20)
    at C:\cr\MyElectronApp\node_modules\electron-builder\src\winPackager.ts:112:32
    at mapper (C:\cr\MyElectronApp\node_modules\electron-builder\src\targets\targetFactory.ts:49:16)
    at WinPackager.createTargets (C:\cr\MyElectronApp\node_modules\electron-builder\src\winPackager.ts:112:9)
From previous event:
    at Packager.doBuild (C:\cr\MyElectronApp\node_modules\electron-builder\out\packager.js:379:11)
    at C:\cr\MyElectronApp\node_modules\electron-builder\src\packager.ts:170:52
    at next (native)
    at processImmediate [as _immediateCallback] (timers.js:383:17)
From previous event:
    at Packager.build (C:\cr\MyElectronApp\node_modules\electron-builder\out\packager.js:274:11)
    at C:\cr\MyElectronApp\node_modules\electron-builder\src\builder.ts:198:33
    at next (native)
From previous event:
    at build (C:\cr\MyElectronApp\node_modules\electron-builder\out\builder.js:70:21)
    at Object.<anonymous> (C:\cr\MyElectronApp\node_modules\electron-builder\out\cli\build-cli.js:71:41)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:441:10)
    at startup (node.js:139:18)
    at node.js:968:3

Successful build on electron-builder 16.8.4

@d9k d9k changed the title Build fails: electron-builder 17.5.0, 17.8.0: debug module not found Build fails: electron-builder 17.5.0, 17.8.0: cannot find module 'debug' May 19, 2017
@d9k
Copy link
Author

d9k commented May 22, 2017

electron-builder 17.10.0 works, thanks! 😌

@sam26880
Copy link

I'm getting this issue still in version 20.38.4. Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants