Build fails with "Error: `background` missing from JSON Specification"
See original GitHub issueThis only recently started happening as we wiped our npm cache and it updated to the latest patch release. The docs suggest that this attribute is optional.
Error: `background` missing from JSON Specification
at Object.fn (/Users/distiller/propeller-desktop/node_modules/appdmg-tf/lib/appdmg.js:152:12)
at Pipeline._runStep (/Users/distiller/propeller-desktop/node_modules/appdmg-tf/lib/pipeline.js:44:8)
at Pipeline._run (/Users/distiller/propeller-desktop/node_modules/appdmg-tf/lib/pipeline.js:93:8)
at Function.next.skip (/Users/distiller/propeller-desktop/node_modules/appdmg-tf/lib/pipeline.js:39:21)
at Object.fn (/Users/distiller/propeller-desktop/node_modules/appdmg-tf/lib/appdmg.js:111:37)
at Pipeline._runStep (/Users/distiller/propeller-desktop/node_modules/appdmg-tf/lib/pipeline.js:44:8)
at Pipeline._run (/Users/distiller/propeller-desktop/node_modules/appdmg-tf/lib/pipeline.js:93:8)
at Function.next.skip (/Users/distiller/propeller-desktop/node_modules/appdmg-tf/lib/pipeline.js:39:21)
at Object.fn (/Users/distiller/propeller-desktop/node_modules/appdmg-tf/lib/appdmg.js:94:37)
at Pipeline._runStep (/Users/distiller/propeller-desktop/node_modules/appdmg-tf/lib/pipeline.js:44:8)
at Pipeline._run (/Users/distiller/propeller-desktop/node_modules/appdmg-tf/lib/pipeline.js:93:8)
at next (/Users/distiller/propeller-desktop/node_modules/appdmg-tf/lib/pipeline.js:33:23)
at /Users/distiller/propeller-desktop/node_modules/appdmg-tf/lib/appdmg.js:84:9
at FSReqWrap.cb [as oncomplete] (fs.js:251:19)
From previous event:
at OsXPackager.packageInDistributableFormat (/Users/distiller/propeller-desktop/node_modules/electron-builder/src/osxPackager.ts:183:20)
at nonMasPromise.doPack.then.then (/Users/distiller/propeller-desktop/node_modules/electron-builder/src/osxPackager.ts:58:74)
From previous event:
at OsXPackager.<anonymous> (/Users/distiller/propeller-desktop/node_modules/electron-builder/src/osxPackager.ts:58:10)
at undefined.next (native)
From previous event:
at tsAwaiter (/Users/distiller/propeller-desktop/node_modules/electron-builder/src/awaiter.ts:10:47)
at Object.build (/Users/distiller/propeller-desktop/node_modules/electron-builder/src/builder.ts:30:59)
at Object.<anonymous> (/Users/distiller/propeller-desktop/node_modules/electron-builder/src/build-cli.ts:47:2)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:456:32)
at tryModuleLoad (module.js:415:12)
at Function.Module._load (module.js:407:3)
at Function.Module.runMain (module.js:575:10)
at startup (node.js:160:18)
at node.js:445:3
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Unable to execute openapi-generator-cli version[BUG] #390
Run below command to generate the package (assuming you have java installed, json file for spec downloaded locally and jar file is downloaded)....
Read more >Handling non-compliant JSON with Jackson - cowtowncoder
Background : Jackson reads/writes VALID JSON With its default settings Jackson always produces (generates) valid JSON; and similarly only ...
Read more >ts is missing from the TypeScript compilation. Please make ...
My issue was an invalid case of the component path due to copy/paste error :D. Wrong: import { RegisterComponent } from './Register/Register.
Read more >Build Steps from Json Plugin - Jenkins
lets Astrée fail a build if an Error (Definite Type A Alarm) is reported. This is the preferred setting for most use cases....
Read more >JSON Schema Serializer and Deserializer
Both the JSON Schema serializer and deserializer can be configured to fail if the payload is not valid for the given schema. This...
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
background
is no longer a mandatory option in appdmg version 0.4.2 👍Do you have file
build/background.png
?