首页 > 解决方案 > Error: ENOENT: no such file or directory, lstat while working on Yarn Install

问题描述

From today onward, I getting the following error while using the command yarn install

error An unexpected error occurred: "ENOENT: no such file or directory, lstat 'C:\Users\xxxxx\AppData\Local\Yarn\Cache\v2 \npm-@clr\icons-1.1.5-334ff790cd2f5ec67a034282c5709aac1a3de0b7 \shapes\CredDB.CEF'". info If you think this is a bug, please open a bug report with the information provided in "C:\abcd-project\12-Mar-2020-M62\vxrail-nvt\yarn-error.log". info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

It is an angular NodeJs type project where I am using yarn as package manager (version 1.10.1).

标签: node.jsangularyarnpkg

解决方案


这个问题经过一些试验后得到解决。仅由于戴尔加密,此问题仅在戴尔计算机中出现。我假设戴尔加密已损坏。当我安装 Dell Encryption 驱动程序时,该问题没有发生,因此已解决。我必须从以下链接下载戴尔加密驱动程序。

https://dl.dell.com/FOLDER06110901M/1/Dell-Encryption-10.6.0.2.zip。上述链接的父链接如下。

https://www.dell.com/support/home/us/en/04/product-support/product/dell-data-protection-encryption/drivers

从上面的链接中,您选择了Dell Encryption,安装后,您必须重新启动系统。


推荐阅读