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

Comments

Windows Fix#61

Open
Cristian006 wants to merge 2 commits intobalena-io-experimental:masterfrom
Cristian006:windows-fix
Open

Windows Fix#61
Cristian006 wants to merge 2 commits intobalena-io-experimental:masterfrom
Cristian006:windows-fix

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
"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 ."
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?

"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.

3 participants