Skip to content

Removing temporary directory on Windows fails with no error #431

Description

@MarshallOfSound

Running on a Windows Server 2008 build agent the packager fails to generate artifacts with no error

Which version of electron-packager are you using?

Tested on both 7.2.0 and 7.3.0. The exact same config was working a few days ago so perhaps something has changed in the dependency tree?

What CLI arguments are you passing? Alternatively, if you are using the API, what parameters are
you passing to the packager() function?

const defaultPackageConf = {
  'app-bundle-id': packageJSON.name,
  'app-category-type': 'public.app-category.healthcare-fitness',
  'app-copyright': `Copyright © ${(new Date()).getFullYear()} ${packageJSON.author.name}, All rights reserved.`, // eslint-disable-line
  'app-version': packageJSON.version,
  arch: 'ia32',
  asar: true,
  'build-version': packageJSON.version,
  dir: '.',
  icon: './build/assets/img/main',
  ignore: ignoreFn,
  name: packageJSON.productName,
  out: './dist/',
  overwrite: true,
  platform: 'win32',
  prune: true,
  tmpdir,
  version,
  'version-string': {
    CompanyName: packageJSON.author.name,
    FileDescription: packageJSON.productName,
    ProductName: packageJSON.productName,
    InternalName: packageJSON.productName,
  },
};

What version of Electron are you building with?

Tried building with Electron 1.2.x and 1.3.x

What is the host platform are you running electron-packager on?

Windows Server 2008, x64

What target platform(s)/architecture(s) are you building for?

Windows x86

Is there a stack trace in the error message you're seeing?

No, there is no error, it just stops. When running with DEBUG enabled the extract-zip module declares itself complete then a second later the process exits with exit code 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked 🚫Depends on another issue either in this project or a dependency's projectbug 🐛build-host:windowsRunning Electron Packager on Windows

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions