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

The base package release does not exist #713

Closed
ghost opened this issue Aug 31, 2016 · 0 comments · Fixed by con-cis/mc-docu#27, con-cis/mc-docu#33 or con-cis/mc-docu#35 · May be fixed by qcif/data-curator#563 or dentread/Dentread-IM-App#57
Closed

Comments

@ghost
Copy link

ghost commented Aug 31, 2016

  • 6.3.1:
  • Squirrel.Windows:

When running build the first time everything completes fine, but after updating the the app package.json version (in this case, from 0.1.2 to 0.1.3), Any subsequent builds fail with the following error message:


Error: Command failed: C:\Users\username\.cache\Squirrel.Windows\Squirrel.Windows-1.4.4\Update.com --releasify C:\Users\username\git\appname-app\dist\win\appname-0.1.3-full.nupkg --releaseDir C:\Users\username\git\appname-app\dist\win 2016-08-31 14:22:53> Unhandled exception: System.IO.FileNotFoundException: The base package release does not exist
File name: 'C:\Users\username\git\appname-app\dist\win\appname-0.1.2-full.nupkg'
   at Squirrel.DeltaPackageBuilder.CreateDeltaPackage(ReleasePackage basePackage, ReleasePackage newPackage, String outputFile)
   at Squirrel.Update.Program.ReleasifyElectron(String package, String targetDir, String baseUrl)
   at Squirrel.Update.Program.executeCommandLine(String[] args)
   at Squirrel.Update.Program.main(String[] args)
System.IO.FileNotFoundException: The base package release does not exist
File name: 'C:\Users\username\git\appname-app\dist\win\appname-0.1.2-full.nupkg'
   at Squirrel.DeltaPackageBuilder.CreateDeltaPackage(ReleasePackage basePackage, ReleasePackage newPackage, String outputFile)
   at Squirrel.Update.Program.ReleasifyElectron(String package, String targetDir, String baseUrl)
   at Squirrel.Update.Program.executeCommandLine(String[] args)
   at Squirrel.Update.Program.main(String[] args)
   at Squirrel.Update.Program.Main(String[] args)

2016-08-31 14:22:53> Program: Starting Squirrel Updater: --releasify C:\Users\username\git\appname-app\dist\win\appname-0.1.3-full.nupkg --releaseDir C:\Users\username\git\appname-app\dist\win

2016-08-31 14:22:53> Unhandled exception: System.IO.FileNotFoundException: The base package release does not exist
File name: 'C:\Users\username\git\appname-app\dist\win\appname-0.1.2-full.nupkg'
   at Squirrel.DeltaPackageBuilder.CreateDeltaPackage(ReleasePackage basePackage, ReleasePackage newPackage, String outputFile)
   at Squirrel.Update.Program.ReleasifyElectron(String package, String targetDir, String baseUrl)
   at Squirrel.Update.Program.executeCommandLine(String[] args)
   at Squirrel.Update.Program.main(String[] args)
System.IO.FileNotFoundException: The base package release does not exist
File name: 'C:\Users\username\git\appname-app\dist\win\appname-0.1.2-full.nupkg'
   at Squirrel.DeltaPackageBuilder.CreateDeltaPackage(ReleasePackage basePackage, ReleasePackage newPackage, String outputFile)
   at Squirrel.Update.Program.ReleasifyElectron(String package, String targetDir, String baseUrl)
   at Squirrel.Update.Program.executeCommandLine(String[] args)
   at Squirrel.Update.Program.main(String[] args)
   at Squirrel.Update.Program.Main(String[] args)

   at Squirrel.DeltaPackageBuilder.CreateDeltaPackage(ReleasePackage basePackage, ReleasePackage newPackage, String outputFile)
   at Squirrel.Update.Program.ReleasifyElectron(String package, String targetDir, String baseUrl)
   at Squirrel.Update.Program.executeCommandLine(String[] args)
   at Squirrel.Update.Program.main(String[] args)
   at Squirrel.DeltaPackageBuilder.CreateDeltaPackage(ReleasePackage basePackage, ReleasePackage newPackage, String outputFile)
   at Squirrel.Update.Program.ReleasifyElectron(String package, String targetDir, String baseUrl)
   at Squirrel.Update.Program.executeCommandLine(String[] args)
   at Squirrel.Update.Program.main(String[] args)
   at Squirrel.Update.Program.Main(String[] args)
   at Squirrel.DeltaPackageBuilder.CreateDeltaPackage(ReleasePackage basePackage, ReleasePackage newPackage, String outputFile)
   at Squirrel.Update.Program.ReleasifyElectron(String package, String targetDir, String baseUrl)
   at Squirrel.Update.Program.executeCommandLine(String[] args)
   at Squirrel.Update.Program.main(String[] args)
   at Squirrel.DeltaPackageBuilder.CreateDeltaPackage(ReleasePackage basePackage, ReleasePackage newPackage, String outputFile)
   at Squirrel.Update.Program.ReleasifyElectron(String package, String targetDir, String baseUrl)
   at Squirrel.Update.Program.executeCommandLine(String[] args)
   at Squirrel.Update.Program.main(String[] args)
   at Squirrel.Update.Program.Main(String[] args)
    at C:\Users\username\AppData\Roaming\npm\node_modules\electron-builder\src\util\util.ts:96:16
    at ChildProcess.exithandler (child_process.js:213:5)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:852:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
From previous event:
    at Object.exec (C:\Users\username\AppData\Roaming\npm\node_modules\electron-builder\src\util\util.ts:77:9)
    at C:\Users\username\AppData\Roaming\npm\node_modules\electron-builder\src\targets\squirrelPack.ts:183:26
    at next (native)
From previous event:
    at tsAwaiter (C:\Users\username\AppData\Roaming\npm\node_modules\electron-builder\src\util\awaiter.ts:10:47)
    at Object.build (C:\Users\username\AppData\Roaming\npm\node_modules\electron-builder\src\builder.ts:195:52)
    at Object.<anonymous> (C:\Users\username\AppData\Roaming\npm\node_modules\electron-builder\src\build-cli.ts:27:28)
    at Module._compile (module.js:556:32)
    at Object.Module._extensions..js (module.js:565:10)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.runMain (module.js:590:10)
    at run (bootstrap_node.js:394:7)
    at startup (bootstrap_node.js:149:9)
    at bootstrap_node.js:509:3

It appears that Squirrel.Windows expects appname-0.1.2-full.nupkg to be present to create deltas but electron-builder has already deleted it (and replaced it with appname-0.1.3-full.nupkg) by the time this command is run.

@develar develar closed this as completed in 3b1ad57 Sep 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment