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

env & babel-node cmds not recognized on Windows #73

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

1cgonza
Copy link
Contributor

@1cgonza 1cgonza commented May 22, 2021

A couple of commands in the package.json scripts do not work out of the box on Windows.

env

Installed cross-env to solve the common env command not being recognized on Windows.

babel-node

The command works when using Yarn, but npm run dev produces the error: 'babel-node' is not recognized as an internal or external command. For some reason, on Windows, NPM does not pick up babel-node from node_modules/.bin. It is solved by specifying the path directly.

@1cgonza
Copy link
Contributor Author

1cgonza commented May 25, 2021

@ebefarooqui these are the issues we had on Windows. Let me know what you think.
A note, the tests pass locally but here it seems to fail due to this ref: ${{ github.head_ref }} in the CI job. Perhaps it is not able to get the proper head.ref from my fork.

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.

1 participant