Comments (2)
I believe this is out of scope for electron-forge
. To verify dependencies you should use your package manager (npm
or yarn
) and the .compilerc
is technically optional. Important to realize the electron-forge
is not a package manager.
Happy for someone to override me on this but I believe this is out of scope.
from forge.
@MarshallOfSound thanks for answering :-)
maybe a better question to ask is, why this and such a problem can occur ?
not sure
To verify dependencies you should use your package manager (npm or yarn)
How to use npm or yarn for that ?
also can npm protect me against a corrupted .compilerc
file or any of the dependencies ?
Important to realize the electron-forge is not a package manager
I only gave homebrew as an example.
I think hombrew provides that option, only because no one else can.
and because their users would be asking why homebrew is not working for them in some weird case
and "homebrew doctor" only raises the most common problems
people still face problems
but agree that the doctor command is essential for hombrew, where third-party packages are being installed. but so much for electron-forge
electron-forge is not a package manager, but it is:
- compiling packages
- packaging into an electron app
so some means to checking the dependencies would be nice
also am saying, for me electron-forge
is like homebrew
ie. it is my only point of contact about electron
like homebrew, i am interacting only with electron-forge
also, can i can ask npm if:
- all the dependencies of
electron-forge
and it dependencies-dependencies etc are correct - an optional
.compilerc
is correct or not - etc not even sure what other checks are there
so am suggesting that electron-forge
must have that check
maybe electron-forge and its chain of dependencies all must have a "doctor" script.
such a check would be nice, not sure who or even if it should be provided
if that is out of scope, maybe an electron-forge test
command
which has a sample electron app, and test cases which can be run against it
from forge.
Related Issues (20)
- Electron forge is showing a new Error where it cannot copy my app to /volumes dir HOT 7
- The packaged OSX or Ubuntu app doesn't work correctly if it was started from another app
- Shipping broken. EJSONPARSE error HOT 1
- Vite extension hangs on building main code
- Update Docs for cloud-based EV code signing HOT 4
- Electron-Forge - Webpack - Start - ENOSPC
- electron-forge publish hangs on "Preparing native dependencies" HOT 1
- image cannot be resolved when application is packed HOT 4
- Update to latest maintained Node.js engines
- local modules added with npm can break vite-based build HOT 1
- Win32 make from macOs
- Remove hardcoded `node_modules` HOT 1
- Vite plugin seems to preserve symlinks during packageAfterCopy hook
- Is Electron Forge too opinionated?
- "npm run start" startup exception
- npm run make error: DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
- how to place mac app into Appliactions/{folder}/appName.app rather on /Applications after install via dmg HOT 2
- Allow passing "copyright" config to DEB and RPM makers
- [ERR_MODULE_NOT_FOUND] [ESM] Vite doesn't bundle internal dependencies HOT 5
- Failed at Finalizing package HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from forge.