This repository was archived by the owner on Feb 16, 2021. It is now read-only.
Windows Fix#61
Open
Cristian006 wants to merge 2 commits intobalena-io-experimental:masterfrom
Cristian006:windows-fix
Open
Windows Fix#61Cristian006 wants to merge 2 commits intobalena-io-experimental:masterfrom Cristian006:windows-fix
Cristian006 wants to merge 2 commits intobalena-io-experimental:masterfrom
Cristian006:windows-fix
Conversation
Added cross-env module to package.json in order to run the application on Windows
curcuz
reviewed
Jan 30, 2018
app/package.json
Outdated
| "dev": "cross-env NODE_ENV=development electron .", | ||
| "lint": "eslint .", | ||
| "start": "NODE_ENV=production startx ./node_modules/electron/dist/electron ." | ||
| "start": "criss-env NODE_ENV=production startx ./node_modules/electron/dist/electron ." |
Contributor
There was a problem hiding this comment.
hey @Cristian006 I believe there is a typo here?
curcuz
reviewed
Jan 30, 2018
| "js" | ||
| ], | ||
| "dependencies": { | ||
| "cross-env": "^5.1.3", |
Contributor
There was a problem hiding this comment.
since we are installing cross-env locally here, shouldn't the start and dev script be ./node_modules/cros-env/...
Contributor
There was a problem hiding this comment.
npm and Yarn automatically resolve that for you.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added cross-env module to package.json in order to run the application on Windows