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.

`Question`: Why appdmg is an optional dependency?

See original GitHub issue

Hi @stefanjudis!

I founded that appdmg is in a list of optional dependencies, could you please clarify, why?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
fyockmcommented, Jun 17, 2016

Would you mind adding a note to the README or wiki to call out the fact that appdmg is an optionalDependency? I can submit a PR if you think it belongs in the README.

I had npm configured to not install optional dependencies by default. It took me a while to figure out why I had to manually install appdmg when the README declares it “used under the hood”. I actually had the same problem with 7zip-bin-osx.

0reactions
develarcommented, Jun 17, 2016

@fyockm It is strange for me because NPM warns about it, right? But since npm is not reliable and os-specific deps concept is broken/not implemented, 2-3 lines in the readme will not harm.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What are Optional Dependencies and when should we use them
Dependencies are libraries on which a project depends to function properly. The term optional dependencies apply to dependencies that won't ...
Read more >
node.js - Conditionally Include Dependency package.json
You can use an optional dependency. Like this in your package.json: "optionalDependencies":{ "grunt-appdmg":"0.2.0" }. More info on NPM documentation.
Read more >
trying to make standalone game w/ Lectrote - IntFiction.org
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: appdmg@^0.4.0 (node_modules\appdmg): ... shadow\files\GameFiles\question.jpg.
Read more >
not compatible with your version of node/npm: google-gax ...
npm version is not compatible with node.js version - Ask Ubuntu ... npm ERR! notarget It was specified as a dependency of 'pathfinder-eve'...
Read more >
appdmg - npm
Specification. title (string, required) - The title of the produced DMG, which will be shown when mounted; icon (string, optional) - Path to ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

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