Vue-cli: GraphQL error:Cannot read property 'homepage' of undefined

Created on 10 Jul 2019  ·  12Comments  ·  Source: vuejs/vue-cli

Version

3.9.2

Environment info

vue cil 3

Steps to reproduce

vue ui

What is expected?

正常的展示页面

What is actually happening?

空白的页面


image
image

image

ui

Most helpful comment

There is the .vue-cli-ui folder in your home folder.

All 12 comments

Can't reproduce. I guess it may be related to browser cache. Have you tried clearing the cache or opening the page in incognito mode?

Vue reinstallation is no good and Browser has been Reloaded

@sodatea

I had the same problem today. Vue UI likely cannot find your last project.

For me the source of the problem was a changed project folder name. Once I renamed the folder back to the original name it worked again. I then removed the project from Vue UI, changed the folder name and then imported it back into Vue UI.

Vue UI should preferably not fail in such a case, but instead show the project overview and mark the missing project.

same problem. vue 3.9.2. including reinstall vue-cli and delete db.json

Is there a file we can delete to get around this problem?

There is the .vue-cli-ui folder in your home folder.

@Akryum Deleting the .vue-cli-ui folder fixed it :) Thanks

Where is this file located in the project?

@Akryum Deleting the .vue-cli-ui folder fixed it :) Thanks

what's the home folder? where is the .vue-cli-ui folder?

If this helps anyone, I was facing this issue because I had deleted package.json and package-lock.json from my vue folder. Restoring those files (i was using GIT) fixed the problem for me.

@Akryum Deleting the .vue-cli-ui folder fixed it :) Thanks

what's the home folder? where is the .vue-cli-ui folder?

sudo rm -rf ~/.vue-cli-ui

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JIANGYUJING1995 picture JIANGYUJING1995  ·  3Comments

Akryum picture Akryum  ·  3Comments

chasegiunta picture chasegiunta  ·  3Comments

OmgImAlexis picture OmgImAlexis  ·  3Comments

eladcandroid picture eladcandroid  ·  3Comments