Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Windows Fix #61

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Windows Fix #61

wants to merge 2 commits into from

Conversation

Cristian006
Copy link

Added cross-env module to package.json in order to run the application on Windows

Added cross-env module to package.json in order to run the application on Windows
app/package.json Outdated
"lint": "eslint .",
"start": "NODE_ENV=production startx ./node_modules/electron/dist/electron ."
"start": "criss-env NODE_ENV=production startx ./node_modules/electron/dist/electron ."
Copy link
Contributor

Choose a reason for hiding this comment

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

hey @Cristian006 I believe there is a typo here?

@@ -19,6 +19,7 @@
"js"
],
"dependencies": {
"cross-env": "^5.1.3",
Copy link
Contributor

Choose a reason for hiding this comment

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

since we are installing cross-env locally here, shouldn't the start and dev script be ./node_modules/cros-env/...

Copy link
Contributor

Choose a reason for hiding this comment

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

npm and Yarn automatically resolve that for you.

Missed the 'o'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants