You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 27, 2021. It is now read-only.
Related to #54 , it looks like I had a local installation of create-evergreen-app, that was messing with things. I can now reproduce this across OSX, Linux, and Windows.
CRA uses cross-spawn and it works fine from npx. I think it has to do with being a devdependency in CEA and CRA uses it as a regular dependency
So the solution is to create separate dependencies for the package.json for the CEA vs the application it generates. This would obviously cause the unit tests to fail and would have to be rewritten to spawn a new application and test based on that. Which may actually be beneficial anyways.
Or you can create and include it as a separate dev-utils package, which uses cross-spawn as just a regular dependency, which CRA also does with react-scripts.
Not sure if npx will be helpful testing outside of from npm? I guess since npx create-evergreen-app is already broken, no harm in pushing a new version even if it doesn't work? Seems like it will just be a little trial and error, but I think it's close. ❓
Type of Change
Summary
Related to #54 , it looks like I had a local installation of create-evergreen-app, that was messing with things. I can now reproduce this across OSX, Linux, and Windows.
Details
Maybe we need npm install and npx? I was hoping npx would replace the need for a global install.
The text was updated successfully, but these errors were encountered: