VUE UI create 抛 An error occurred vue-apollo.js:60 GraphQL error: ENOENT: no such file or directory

Posted 打杂人

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了VUE UI create 抛 An error occurred vue-apollo.js:60 GraphQL error: ENOENT: no such file or directory相关的知识,希望对你有一定的参考价值。

如题,
不知什么原因, 突然用VUE UI 方式创建项目时,  耗时严重, 等了几十分钟, 命令行控制台一直停留在  reify:core-js: timing reifyNode:node_modules/lodash Completed in 63687ms   这里就不动了.

怀疑是电脑问题, 重启过命令.

打开浏览器控制台,发现抛错如下:

An error occurred
vue-apollo.js:60 GraphQL error: ENOENT: no such file or directory, stat 'E:\\2021\\Vue-Works\\vue-eleme'
vue-apollo.js:62 

解决过程:

2021-03-04 00:30

定位到 C:\\user\\用户名  下,  找到   .vue-cli-ui  目录.  删除.  重启后, 重新导入项目. 发现问题依旧.

折腾了不知多久, 还是问题依旧.

最后, 
于是, 只好安新安装 nodejs新版, 安装 @vue/cli,  重新导入和创建后, 问题暂时解决. 

 

待找到除了重装外的方法后,再更新

2021-03-10

 

以上是关于VUE UI create 抛 An error occurred vue-apollo.js:60 GraphQL error: ENOENT: no such file or directory的主要内容,如果未能解决你的问题,请参考以下文章

Vue : Expected the Promise rejection reason to be an Error

Vue报错 Duplicate keys detected: '1'. This may cause an update error. vue报错

[Vue warn]: Duplicate keys detected: 'area'. This may cause an update error.

vue报错之Duplicate keys detected: '0'. This may cause an update error.

The “QtRunWork“ task returned false but did not log an error

[Vue warn]: Duplicate keys detected: '1'. This may cause an update error