-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Warning: Fell back to using 'fs' to identify file_path as deleted #4201
Comments
Also running into this after deleting unused files from libs/ EDIT: running |
Also running into this issue when running a React project with version: 10.3.1
|
I ran into this problem as well. To reproduce, I moved a file using drag-n-drop in the VS Code file explorer on the left. Then ran
Potentially an issue on the VS Code side, since they have also been having issues changing import paths when I do this, related issue here: microsoft/TypeScript#40386 |
Just wanted to say, me too. I renamed a library (including everything that referenced it), and everything still broke. |
Looks like the error self-resolved after a successful git commit. |
This warning is really annoying and I honestly don't understand why I get it for deleted files. But what I found when searching in nrwl/nx codebase was that it should be removed by v10.2 as this jsdoc line for a function printing this warning is saying. @vsavkin can it be removed already? Thanks |
@miluoshi I prepare a PR that is going to resolve the root cause of this warning, be patient 😃 |
@bekos awesome, thanks! 🚀 |
I see this issue everytime I define a new story " Fell back to using 'fs' to identify". What is the concrete solution to it? |
@mrsshilpad - For me, it went away permanently after a successful commit. Try updating your Nx libraries and committing to see if that helps. |
Thanks! Yes, it fixed for me too but then I wasn't able to see my component in storybook, so I had to restart everything. How is committing a concrete solution? Whats the logic behind it? What if I am not ready to commit anything? |
I see my stories missing every now and then, guess this is different issue. But annoying. |
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. |
Current Behavior
I renamed a file, and now I have a warning in the terminal that suggests to file a bug report.
Expected Behavior
No warning in the terminal when removing/renaming workspace files, and running commands after that.
Steps to Reproduce
Rename a file. For example
apps/some-app-e2e/src/fixtures/example.json
->apps/some-app-e2e/src/fixtures/credentials.json
.Run command
npx nx e2e some-app-e2e
.Failure Logs
ng run zzz-e2e:e2e --watch Warning: Fell back to using 'fs' to identify apps/zzz-e2e/src/fixtures/example.json as deleted. Please open an issue at https://github.com/nrwl/nx so we can investigate.
Environment
Cli is installed as a global dependency.
The text was updated successfully, but these errors were encountered: