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.

Empty output when trying to create a Squirrel distributable

See original GitHub issue
  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project follows, as appropriate.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.

Please describe your issue: When I try to create an installer for the application, an error occurs without description

Console output when you run electron-forge with the environment variable DEBUG=electron-forge:*. (Instructions on how to do so here). Please include the stack trace if one exists.

electron-forge make

What does your config.forge data in package.json look like?

{
  "name": "psi_meus_paciente",
  "productName": "psi_meus_paciente",
  "version": "1.0.0",
  "description": "Psi - Meus pacientes",
  "main": "src/index.js",
  "scripts": {
    "start": "electron-forge start",
    "package": "electron-forge package",
    "make": "electron-forge make",
    "publish": "electron-forge publish",
    "lint": "eslint src"
  },
  "keywords": [],
  "author": "Pablo Gil Pereira",
  "license": "MIT",
  "config": {
    "forge": {
      "make_targets": {
        "win32": [
          "squirrel"
        ],
        "darwin": [
          "zip"
        ],
        "linux": [
          "deb",
          "rpm"
        ]
      },
      "electronPackagerConfig": {
        "packageManager": "npm"
      },
      "electronWinstallerConfig": {
        "name": "psi_meus_paciente"
      },
      "electronInstallerDebian": {},
      "electronInstallerRedhat": {},
      "github_repository": {
        "owner": "",
        "name": ""
      },
      "windowsStoreConfig": {
        "packageName": "",
        "name": "psimeuspaciente"
      }
    }
  },
  "dependencies": {
    "electron-compile": "^6.4.1"
  },
  "devDependencies": {
    "babel-plugin-transform-async-to-generator": "^6.24.1",
    "babel-preset-env": "^1.6.0",
    "babel-preset-react": "^6.24.1",
    "electron-forge": "^4.0.1",
    "electron-prebuilt-compile": "1.7.5",
    "eslint": "^3.19.0",
    "eslint-config-airbnb": "^15.1.0",
    "eslint-plugin-import": "^2.7.0",
    "eslint-plugin-jsx-a11y": "^5.1.1",
    "eslint-plugin-react": "^7.3.0"
  }
}

Please provide either a failing minimal testcase (with a link to the code) or detailed steps to reproduce your problem. Using electron-forge init is a good starting point, if that is not the source of your problem.

Terminal return:

electron-forge make
√ Checking your system
√ Resolving Forge Config
We need to package your application before we can make it
√ Preparing to Package Application for arch: x64
√ Compiling Application
√ Preparing native dependencies
√ Packaging Application
Making for the following targets:
× Making for target: squirrel - On platform: win32 - For arch: x64

An unhandled error has occurred inside Forge:
An error occured while making for target: squirrel
Failed with exit code: 1
Output:

Error: Failed with exit code: 1
Output:

at ChildProcess.proc.on.code (C:\Users\paull_000\AppData\Roaming\npm\node_modules\electron-forge\node_modules\electron-winstaller\lib\spawn-promise.js:62:16)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:891:16)
at Socket.<anonymous> (internal/child_process.js:342:11)
at emitOne (events.js:101:20)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:497:12)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ShaikhDanish04commented, Nov 26, 2020

This is unsolved

0reactions
maleptcommented, Nov 26, 2020

@ShaikhDanish04 unfortunately your comment is not actionable. Please file a new issue, following the prompts in the issue template for bugs and making sure that you provide a small, reproducible example for folks to use to diagnose and fix the bug you’re seeing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Empty output when trying to create a Squirrel distributable #315
Try running SET DEBUG=electron-windows-installer:* and then electron-forge make . That should give a little more debug output.
Read more >
Empty output when trying to create a Squirrel distributable
[x] I have searched the issue tracker for an issue that matches the one I want to file, without success. Please describe your...
Read more >
Application Deployment Made Easy - IntelliTect
Smoothly Deploying Your App With Squirrel. Many .NET developers are familiar with ClickOnce, Microsoft's simple deployment solution for quickly packaging ...
Read more >
electron forge 'make' failing due to too many characters
Error: Failed with exit code: 1 Output: Attempting to build package from 'angular_node_express.nuspec'. The specified path, file name, ...
Read more >
Squirrel 3.0 Reference Manual
Creates a new table. local a={} //create an empty table. A table constructor can also contain slots declaration; With the syntax: id =...
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