我通过
npx create-react-app .
创建了一个项目并开始修改和工作,然后我尝试删除它重新创建它,因为它突出显示某些模块有语法错误。我完全删除了所有可能的文件夹,但是当我尝试删除 node_modules
时,出现错误:
Visual Studio Code:
Failed to complete the deletion to the recycle bin. Do you want to perform a permanent deletion?
This action is irreversible.
**Delete permanently**
如果我永久删除它,我会收到错误:
Visual Studio Code:
Error: UNKNOWN: unknown error, scandir
'd:\Desktop\proj-name\node_modules\.core-js-`code(I don't know if it's secret)`\features'
如果我进入这条路径,它是一个空文件夹。
我尝试过通过 VSC 进行删除、通过将文件夹移动到回收站、通过下载一个模块并再次删除、通过删除特定文件夹或在目录末尾进行删除,但没有任何效果。
PS文件创建在这些文件夹中也不起作用 我还假设它与
npm init -y
相关,因为它包含许多名为
webpack
的文件夹。webpack
驱动器的
"repair"/"processing"
,当电脑完全启动并运行时,只需将文件夹移至回收站即可将其删除。 😀👍