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.

rcedit unable to parse version string due to passing in invalid version

See original GitHub issue

Packaging app for platform win32 ia32 using electron v0.36.1 Fatal error: Unable to parse version string

here the code

electron-packager ./build/ appname --asar=true --platform="win32" --arch="ia32" --version="0.36.1" --icon="./resources/windows/icon.ico"  --version-string.CompanyName="Companyname --version-string.LegalCopyright="Copyrights" --version-string.FileDescription="FileDescription" --version-string.OriginalFilename="OriginalFileName.exe" --version-string.FileVersion="FileVersion" --version-string.ProductVersion="0.1.1" --version-string.ProductName="coolProductName" --version-string.InternalName="InternalName" --out=./dist

package.json

{
  "name": "sopc.builder",
  "version": "1.0.0",
  "description": "",
  "main": "gulpfile.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC",
  "dependencies": {
    "gulp": "^3.9.0"
  },
  "devDependencies": {
    "asar": "^0.8.3",
    "electron-prebuilt": "^0.36.1",
    "electron-rebuild": "^1.0.2",
    "fs-jetpack": "^0.7.1",
    "gulp-minify-css": "^1.2.2",
    "gulp-uglify": "^1.5.1",
    "gulp-usemin": "^0.3.16",
    "q": "^1.4.1",
    "rcedit": "^0.3.0",
    "shelljs": "^0.5.3"
  }
}

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
maleptcommented, Aug 22, 2018

The v at the start of your version in package.json is incompatible with win32 (and probably macOS), remove it and it should work.

0reactions
IceAprilercommented, Aug 22, 2018

@malept Is done! Thank u very much! Hm…I think I will remove the v from version in the future. Although only the win package is needed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing with composer fails in "could not parse version ...
Running composer require drupal/recaptcha ends up failing in error : Could not parse version constraint dev: Invalid version string "dev".
Read more >
Unable to self-update Composer - php - Stack Overflow
1." [UnexpectedValueException] Could not parse version constraint v4.1.: Invalid version string "v4.1." How can I fix this issue? My PHP version ...
Read more >
Error Codes - Sentinel Product Documentation
Error Code Description Category 112 The input string is not valid. Activation 151 Payload required. Activation 623 Enter AID or License String Activation
Read more >
Partner Center REST error codes - Microsoft Learn
HTTP Status HTTP Error Code Error code OK 200 400072 NotImplemented 501 0 Unauthorized 401 400
Read more >
NetSuite Applications Suite - Error Status Codes
SOAP web services schema version 2_6 or greater is required to modify product ... You cannot void this transaction because it is linked...
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