vue cli脚手架服务出现这种情况怎么解决

错误信息

`[UI] Trying to load zh_CN locale...  theme.js:8 
forced theme null             vue-apollo.js:59 
An error occurred             vue-apollo.js:60 
GraphQL error: Cannot return null for non-nullable field Project.name.  vue-apollo.js:62 
Array(1)                      LocaleLoader.vue:31 
[UI] Locale en updated with new strings      bundle.esm.js:63 
Uncaught (in promise) Error: GraphQL error: Cannot return null for non-nullable field Project.name.
    at new t (bundle.esm.js:63)
    at bundle.esm.js:1247
    at bundle.esm.js:1559
    at Set.forEach (<anonymous>)
    at bundle.esm.js:1557
    at Map.forEach (<anonymous>)
    at e.broadcastQueries (bundle.esm.js:1555)
    at bundle.esm.js:1646
    at Object.next (Observable.js:322)
    at g (Observable.js:135)
unpkg.com/vue-cli-[email protected]/locales/zh_CN.json:1 Failed to load resource: the server responded with a status of 404 ()                  i18n.js:64 [UI] 
Trying to load zh_cn locale...
unpkg.com/vue-cli-[email protected]/locales/zh_cn.json:1 Failed to load resource: the server responded with a status of 404 ()                  i18n.js:64 [UI] 
Trying to load zh locale...                        i18n.js:69 [UI] 
Automatically loaded zh locale                     index\.js$:120 
Uncaught (in promise) Error: Cannot find module './zh/index.js'
    at o (index\.js$:120)
    at a (index\.js$:115)
    at i18n.js:57
    at l (runtime.js:45)
    at Generator._invoke (runtime.js:274)
    at Generator.forEach.e.<computed> [as next] (runtime.js:97)
    at r (asyncToGenerator.js:3)
    at a (asyncToGenerator.js:25)`

**使用命令 vue ui 启动后 浏览器中窗口一直加载项目,不能创建和导入,卸载重装一二十遍还是一直报错 我看 https://unpkg.com/[email protected]/locales/zh_CN.json**这个文件确实不存在 实在不知道该怎么办了

猜你喜欢

转载自blog.csdn.net/qq_42267888/article/details/107318235