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

NX is unable to find projects located inside directories that starts with a dot #18692

Closed
1 of 4 tasks
upsetbit opened this issue Aug 17, 2023 · 1 comment · Fixed by #18748
Closed
1 of 4 tasks

NX is unable to find projects located inside directories that starts with a dot #18692

upsetbit opened this issue Aug 17, 2023 · 1 comment · Fixed by #18748
Assignees
Labels

Comments

@upsetbit
Copy link

Current Behavior

NX fails to locate projects that are located inside directories that starts with a dot -- (.github, .config etc).

Expected Behavior

A command such as nx run .github:lint should run without issues.

GitHub Repo

https://github.com/e-graveyard/nx-examples

Steps to Reproduce

  1. clone the repository and install the dependencies (I've used npm i --legacy-peer-deps)
  2. execute npx nx run working:say-hello; it should run without problems (project.json under tools dir)
  3. execute npx nx run not-working:say-hello; it should fail with a "not found" error (project.json under .circleci dir)

Nx Report

>  NX   Report complete - copy this into the issue template

   Node   : 20.5.1
   OS     : darwin-arm64
   npm    : 9.8.0
   
   nx (global)    : 16.6.0
   nx             : 16.7.1
   @nx/js         : 16.7.1
   @nx/linter     : 16.7.1
   @nx/workspace  : 16.7.1
   @nx/devkit     : 16.7.1
   @nrwl/tao      : 16.7.1
   nx-cloud       : 16.4.0-beta.1
   typescript     : 5.1.6

Failure Logs

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

This bug is not present on version 16.6.0 and older.

@github-actions
Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants