Warning: Fell back to using 'fs' to identify file_path as deleted
See original GitHub issueCurrent 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.
$ sudo npm list -g --depth=0
[sudo] password for suser:
/usr/lib
βββ @angular/cli@11.0.2
βββ @compodoc/compodoc@1.1.11
βββ @nestjs/cli@7.5.3
βββ @ngxs/cli@2.0.0
βββ @nrwl/cli@10.4.4
βββ asar@3.0.3
βββ clang-format@1.4.0
βββ commitizen@4.2.2
βββ cz-conventional-changelog@3.3.0
βββ firebase-tools@8.16.2
βββ madge@3.12.0
βββ npm@6.14.9
βββ npm-check-updates@10.2.2
βββ svgo@1.3.2
βββ typescript@4.1.2
βββ yarn@1.22.10
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ β³ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 11.0.3
Node: 14.15.1
OS: linux x64
Angular: 11.0.3
... animations, cli, common, compiler, compiler-cli, core
... elements, forms, language-service, platform-browser
... platform-browser-dynamic, router
Ivy Workspace: Yes
Package Version
------------------------------------------------------------
@angular-devkit/architect 0.1001.7
@angular-devkit/build-angular 0.1100.3
@angular-devkit/core 11.0.3
@angular-devkit/schematics 11.0.3
@angular/cdk 11.0.1
@angular/flex-layout 11.0.0-beta.33
@angular/material 11.0.1
@angular/material-moment-adapter 11.0.1
@schematics/angular 11.0.3
@schematics/update 0.1100.3
rxjs 6.6.3
typescript 4.0.5
> NX Report complete - copy this into the issue template
nx : Not Found
@nrwl/angular : 10.4.4
@nrwl/cli : 10.4.4
@nrwl/cypress : 10.4.4
@nrwl/eslint-plugin-nx : 10.4.4
@nrwl/express : Not Found
@nrwl/jest : 10.4.4
@nrwl/linter : 10.4.4
@nrwl/nest : 10.4.4
@nrwl/next : Not Found
@nrwl/node : 10.4.4
@nrwl/react : Not Found
@nrwl/schematics : Not Found
@nrwl/tao : 10.4.4
@nrwl/web : Not Found
@nrwl/workspace : 10.4.4
typescript : 4.0.5
Issue Analytics
- State:
- Created 3 years ago
- Reactions:7
- Comments:12 (3 by maintainers)
Top Results From Across the Web
Remove directory which is not empty - node.js - Stack Overflow
In my case this function stays into the return of another function that's why I am calling it with this. const fs =...
Read more >[AOS Only] What to do when /home partition or /home/nutanix ...
This article describes ways to safely free up space if /home partition or /home/nutanix directories of a CVM become full or do not...
Read more >How To Work with Files using the fs Module in Node.js
The unlink() function accepts one argument: the file path of the file you want to be deleted. Warning: When you delete the file...
Read more >File system | Node.js v19.3.0 Documentation
The fs/promises API provides asynchronous file system methods that return promises. The promise APIs use the underlying Node.js threadpool to perform file ......
Read more >Filesystem β ESP8266 Arduino Core documentation
This allows to use file system to store sketch data, configuration files, ... Returns true if the directory was successfully removed, false otherwise....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Also running into this after deleting unused files from libs/
EDIT: running
git add .
fixes it. Seems like nx is using git cache or somethingLooks like the error self-resolved after a successful git commit.