Ignore .devcontainer folder when running npx create-remix #3972
pastinepolenta
started this conversation in
Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Please notice a parallel issue of create-react-app (see: facebook/create-react-app#10345)
When working with vs code "dev containers" a
.devcontainer
folder is created. This allows to use Docker and a specific node version and OS even on a different host OS (e.g. windows).Therefore the commands
npx...
are run from the guest container. But that container has by default a.devcontainer
folder.In the linked issues there is a workaround for CRA as it ignores a folder named
.hg
.Having
create-remix
ignoring certain folders would be critical to bootstrap a project in this scenario.IMHO the requirement of an empty folder is too strict (I found it too strict even on CRA) if the existing folders do not impact whatsoever the bootstrapping of the app (or if explicitly forced/accepted by the developer)
If this is "wont-fix" and you have other workarounds to suggest, I am happy to hear.
Beta Was this translation helpful? Give feedback.
All reactions