`Question`: Why appdmg is an optional dependency?
See original GitHub issueHi @stefanjudis!
I founded that appdmg
is in a list of optional dependencies, could you please clarify, why?
Issue Analytics
- State:
- Created 8 years ago
- Comments:9 (8 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Would you mind adding a note to the README or wiki to call out the fact that
appdmg
is anoptionalDependency
? 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 with7zip-bin-osx
.@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.