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.

Cannot build Squirrel.Windows target if & in the app name

See original GitHub issue

While building on windows and targeting windows I am receiving the following error:

 "Error: 2016-06-16 13:55:42> Unhandled exception: System.Xml.XmlException: An error occurred while parsing EntityName. Line 11, position 25." 

full error

When running the dist task on package.json. I am following the 2 package.json file approach and I am not using any config option so far. Do I have to do anything else to build on windows?

PS: I am using ^5.4.2

Thanks.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
drFabiocommented, Jun 16, 2016

Changed just the company name as i did not want it to appear on google searchs. I just realized what ti might be. The name had an “&” char on it which was breaking the XML. Thanks!

0reactions
develarcommented, Jan 20, 2017

@initPRAGMA just use nsis target (default target for Windows now).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Squirrel shortcut target is not correct, app launches after install ...
Issue is that when I build executable and run it, the app installs correctly and starts on first instance. When I close the...
Read more >
Squirrel.Windows - electron-builder
The top-level squirrelWindows key contains set of options instructing electron-builder on how it should build Squirrel.Windows. Squirrel.Windows target is ...
Read more >
Electron application Can not find Squirrel - Stack Overflow
The reason there is no update.exe is because you have "nsis" as the target package type. The auto updater package you are trying...
Read more >
electron-packager - npm
Building an Electron app for the Windows target platform requires editing the Electron.exe file. Currently, Electron Packager uses node-rcedit ...
Read more >
A Comprehensive Guide to Building and Packaging an ...
Most of the time I develop using Mac, but since I was building an Electron app I wanted to test if my app...
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