electronize doesn't add `version` or `description` to the package.json it uses in a build.
See original GitHub issueUsing the latest version (11.5.1)
This is causing a build error for linux targets with a message of Please specify 'version' in the package.json
and also causes a warning with message of description is missed in the package.json
Steps to Reproduce:
- add a version and description to the package.json in the application
- execute
electronize /target linux
on a linux system (other steps may need to be done here to get linux building correctly) - look at the package.json used during electronize call and notice its not there.
the file used during the electronize call is put in this general location ~/obj/desktop/-encodedCommand/package.json
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
electronize build does not produce output in \bin\desktop ...
I try to build my electron app using the command "electronize build /target win" but no output is produced in the \bin\desktop folder....
Read more >package.json
Description. This document is all you need to know about what's required in your package.json file. It must be actual JSON, not just...
Read more >Adding dependencies to a package.json file
To see which versions of a package will be installed, use the semver calculator. "dependencies" : Packages required by your application in production....
Read more >Building Cross-Platform Desktop Apps with Electron.NET
This article provides a walkthrough for developing and deploying an application with Electron.NET. Topics covered include:.
Read more >Common Configuration
To package Proton Native app, set protonNodeVersion option to current or specific NodeJS version that you are packaging for. Currently, only macOS and...
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 FreeTop 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
Top GitHub Comments
It seems that name, author and version are only written to package.json and package-lock.json, if the “buildVersion” value is set: https://github.com/ElectronNET/Electron.NET/blob/master/ElectronNET.Host/build-helper.js
electron.manifest.json:
🎉🚀 New Electron.NET version 23.6.1 released 🚀🎉
With native Electron 23 and .NET 6 support. Your problem should be fixed here. If you continue to have the problem, please let us know. Please note the correct updating of your API & CLI. Info in the README. Have fun!