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.

Got error code 15 in electron-winstaller-fixed\vendor\zip-x64.exe

See original GitHub issue

I’m trying to make a build for Windows. All required environments were set up, everything worked well with electron-builder 2.x but when we attempted to use 3.25.0 we always suffer a problem with zip-x64 (we tried with 2 Windows machines but no luck).

Build in package.json

  "build": {
    "osx": {
      "title" : "Sample",
      "contents": [
        {"x": 522, "y": 250, "type": "link", "path": "/Applications"},
        {"x": 124, "y": 250, "type": "file"}
      ]
    },
    "win": {
      "title" : "Sample",
      "msi": true
    }
  }

Gulp function

import builder from 'electron-builder'
const buildAsync = BPromise.promisify(builder.build.bind(builder))
async function createInstaller() {
  await buildAsync({
    platform: process.platform,
    devMetadata: {
      build: {
        asar: false,
        name: AppConfig.productName,
        ignore: new RegExp(
          '^/((src)|(\\..+)|(webpack.+)|(gulpfile.+)|(installer.nsi.tpl)|' +
          '(README\\.md)|(test)|(coverage)|' +
          '(dist)|' + // don't include the other build outcome which runs in parallel
          '(node_modules/babel)|' +
          '(node_modules/eslint)|' +
          '(node_modules/radium/node_modules/babel-(.*))|' +
          '(node_modules/material-ui/src)|' +
          '(node_modules/isparta)|' +
          '(node_modules/gulp-istanbul)|' +
          '(node_modules/webpack)|' +
          '(node_modules/webpack-dev-server)|' +
          '(node_modules/node-sass)|' +
          '(node_modules/css-loader)|' +
          '(node_modules/roboto-fontface))$')
      }
    }
  })
}

Error log: https://gist.github.com/crashbell/1c9c095b5faed387469e4d6e9a98889e

node v5.7.0 npm v3.9.0

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
develarcommented, May 23, 2016

@crashbell Scoped names not supported in all tools — electron-packager and original (not only our fork) windows-installer. You don’t need to use scoped name for your electron app since you will never publish it to npm registry. So, just remove scope name.

0reactions
develarcommented, May 23, 2016

But it seems to be not the same problem

Ensure that your description in the package.json is set to non-empty value.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MsiExec.exe and InstMsi.exe Error Messages (for Developers)
Error code Value Description ERROR_SUCCESS 0 The action completed successfully. ERROR_INVALID_DATA 13 The data is invalid. ERROR_INVALID_PARAMETER 87 One of the parameters was invalid.
Read more >
SCCM Client Installation Error Codes - System Center Dudes
During the SCCM client installation process, monitor the ccmsetup.log using cmtrace.exe and locate each error code.
Read more >
Error code 19:1327 Communication Service returned error ...
Hi Guys, The Customer is getting the following error during FS backup ... returned error when executin remote command [ifind.exe] arguments.
Read more >
What does Error Code # mean on a (un)Zip Advanced Script?
This article lists the error codes for these Zip scripts. ... 15 Zip could not open an output file (typically the archive) for...
Read more >
Installation error codes and solutions - Adobe Support
Exit code: 15 Media DB Sync failed. The installation process isn't merging the installer media database with the local media database. 1. Ensure ......
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