install-app-dependencies
See original GitHub issuequick question to understand correctly.
install-app-dependencies
is a replacement for electron-rebuild, right?
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
How do I install package.json dependencies in the current ...
Running: npm install. from inside your app directory (i.e. where package.json is located) will install the dependencies for your app, ...
Read more >Installing Dev Dependencies with npm: Beginners' Guide
NPM installs devDependencies within the package.json file. The 'npm install' command should add all the dependencies and devDependencies ...
Read more >npm-install - npm Docs
This command installs a package and any packages that it depends on. If the package has a package-lock, or an npm shrinkwrap file,...
Read more >Adding package dependencies to your app - Apple Developer
To add a package dependency to your Xcode project, select File > Swift Packages > Add Package Dependency and enter its repository URL....
Read more >Installing dependencies | Yarn
yarn install is used to install all dependencies for a project. The dependencies are retrieved from your project's package.json file, and stored in...
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
https://github.com/electron-userland/electron-builder/blob/master/src/platformPackager.ts#L194
You don’t need to use two-package.json project structure anymore (since 8). Sample app https://github.com/develar/onshape-desktop-shell is switched to one-package.json structure.
You don’t need to use electron-rebuild.
"postinstall": "install-app-deps"
must be in the dev (root) package.json . Your usage is correct.cd app && npm install --production
— it is error, please remove it.install-app-deps
is enough.I recommend you to use one-package.json structure (using electron-builder >= 8.5.3). In this case you just use script
"postinstall": "install-app-deps"
and no more puzzle “dev vs app package.json”.