-
Notifications
You must be signed in to change notification settings - Fork 233
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
Fix package.json scripts to be cross-platform #358
Fix package.json scripts to be cross-platform #358
Conversation
Hmm it looks like doing i.e. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @TranquilMarmot thanks for the PR, you might need to add cross-env
to the dev dependencies in order for the CI to install the dependency. It's probably working in your machine due to a global version of cross-env
that you might have installed. Just npm install cross-env --save-dev
should suffice. Cheers!
@danielcaldas Line 51 in b25dddf
I wonder if cypress just isn't picking up the env var for some reason 🤔 |
Oh, I think you might need to wrap the var with
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Specifying
node_modules/bin
was causing issues with these on Windows.Also, the cypress tests were using
export
instead ofcross-env
which was also breaking on Windows.