Error: EIO: i/o error, read如何解决

简介: Error: EIO: i/o error, read如何解决

报错:

第一步删除:node_modules

第二步: npm install

重新输入之后系统表示要输入 npm audit fix

 对于我们npm audit fix的解决方法有两种,一种是按照流程下来,但是小编试过了,没有成功

1、npm audit fix

2、npm audit fix --force

3、npm audit

输入第一行指令后报错了

reason: connect ETIMEDOUT 104.16.25.35:443

小编查了一下,好像问题在于需要使用cnpm

执行npm install -g cnpm --registry=https://registry.npm.taobao.org

再执行cnmp install

但是尝试了之后仍旧报错

小编抱着不撞南头誓不回头的想法再输入了一次npm audit fix,结果又报错,心都要崩了

他提示我using --force Recommended protections disabled,表示该版本太高了,于是我给他降了个版本

npm install npm@6.14.10 -g  又重新回到npm audit fix,界面了

在多次失败下,它提示我a complete of this run can be found in要清理缓存

对于a complete of this run can be found in采取的方法是:

npm cache clean --force

清理缓存,如果出现多次失败,清理之前还要先删掉nodule_moudle

之后重新用cnpm install 下了一下,它又提示

Error: Cannot find module 'bug-versions/package.json'

这个表示我们的npm 需要下载依赖

cnpm install --save-dev

然后提示我们npm audit fix,于是继续尝试了一下,成功了,但是还要下载npm audit fix --force

输入之后输入npm run serve

相关文章
|
Java 应用服务中间件 Windows
|
关系型数据库 数据库 MySQL
ERROR 1044 (42000)报错的解决
【问题背景】用root用户创建用户的时候,报错ERROR 1044 (42000) mysql> grant  select on  *.* to rep@'%' identified by '123';ERROR 1045 (28000): Access d...
1644 0
ERROR: Error in Log_event::read_log_event()
<p><br></p> <p> </p> <table cellspacing="0" cellpadding="0" style="word-wrap:break-word; empty-cells:show; border-collapse:collapse; font-size:12px; font-family:微软雅黑,宋体; table-layout:fixed; widt
2266 0
|
SQL 监控 数据库
Write on &hellip;&hellip;&hellip; failed: 112(failed to retrieve text for this error. Reason: 15105)
早上检查数据库的备份邮件时,发现一台Microsoft SQL Server 2008 R2 (SP2)数据库的Maintenance Report有错误   在SSMS里面执行Exec YourSQLDba.
1090 0

热门文章

最新文章