rcedit unable to parse version string due to passing in invalid version
See original GitHub issuePackaging 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:
- Created 8 years ago
- Comments:9 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The v at the start of your version in package.json is incompatible with win32 (and probably macOS), remove it and it should work.
@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.