Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ddocs: Add docs about how to manually load app deps #473

Merged

Conversation

maxcnunes
Copy link
Contributor

#326 Sorry for taking so long to add a doc about it.


In case on development environment your app runs the main process (executed by electron) not inside the `/app` folder. You may need to load the `/app` dependencies manually. Because the app dependencies are be placed at `/app/node_modules` and your main process that is running in a different directory will not have access by default to that directory.

Instead of duplicating the app dependencies in the development `package.json`. Is possible to make the electron main process load the app dependencies manually with an approach like this one:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in the development package.json. Is possible

"it is possible" — instead of dot, "it is" missed, right?

@maxcnunes maxcnunes force-pushed the docs-loading-app-deps-manually branch from 60321ac to 304a65f Compare June 6, 2016 10:12
@maxcnunes
Copy link
Contributor Author

@develar Sure. That is fixed.

@develar develar merged commit ad3065f into electron-userland:master Jun 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants