question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting error for building osx installler

See original GitHub issue

OS: Mac OS X nvm / nodejs: v5.10.1 npm: 3.8.7 electron-builder: 3.5.0

Robertos-MacBook-Pro:myapp robertosaccon$ npm run dist:osx

> MyApp@0.0.1 dist:osx /Users/robertosaccon/go/src/github.com/rsaccon/myapp
> build --platform darwin -d

Installing app dependencies for arch x64 to /Users/robertosaccon/go/src/github.com/rsaccon/myapp/app
Packaging app for platform darwin x64 using electron v0.37.5
Signing app
Creating DMG
Creating ZIP for Squirrel.Mac
Unhandled rejection Error: Cannot find module '../build/Release/volume.node'
    at Function.Module._resolveFilename (module.js:339:15)
    at Function.Module._load (module.js:290:25)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
   ...

a MyApp-0.0.1-mac.zip files gets created in the dist folder, but there is no DMG there

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
develarcommented, Apr 12, 2016

Please try to remove your node_modules and run npm install again. Attach npm install log here (console output).

0reactions
develarcommented, Apr 13, 2016

@rsaccon Yep, npm is not reliable.

Read more comments on GitHub >

github_iconTop Results From Across the Web

If an error occurred while updating or installing macOS
If an error occurred while updating or installing macOS · Check your internet connection · Install in safe mode · Install after repairing...
Read more >
Mac Installation Errors You May Encounter and How to Fix Them
In this guide, we will look at some of the installation problems that tend to occur with new releases of the Mac operating...
Read more >
How to Fix a Damaged macOS Installer - MacRumors
To fix the damaged installer, you should just download the installer again. Doing so will also ensure that you have all of the...
Read more >
Command Not Found Error When Creating Bootable Installer ...
You may want to create a bootable installer drive for macOS. You may sometimes run into a command line error message saying "command...
Read more >
Ways to Fix – “The macOS installation couldn't be completed ...
4. Get a new copy of the macOS Installer ... If you?re facing the error repeatedly, your macOS installer may have become corrupted....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found