vue ui cannot read property ‘indexOf’ of undefined error resolution

tags: vue.js  node.js

Vue ui reports an error in the last step of creating a project

  • current version

  • Checked a lot of solutions,
  • The administrator has been stuck when opening cmd
  • Modifying the Taobao mirror will not work

It turned out to be the reason for the version, downloadnpm uninstall -g @vue/cliThe latest version can be solved

Perfect solution


Intelligent Recommendation

Cannot Read Property 'XXX' of undefined error resolution

      Click to get more data, you will encounter a click to expand without data, blank newspaper red, should be the problem of component transmission, VUE is a one-way data stream trans...

Vue.js reports in error: TypeError: Cannot Read Property 'IndexOf' of undefined

[Vue warn]: Error when evaluating expression "name.indexOf('jack') >= 0": TypeError: Cannot read property 'indexOf' of undefined ypeError: Cannot read property 'indexOf' of undefinedFrom ...

Solve vue Gui Cannot read property ‘indexOf’ of undefined

vue2.9.6 upgrade tovue3.0 First, you need to uninstall your previous vue2.9.6 npm uninstall vue-cli -g Then run the command vue-V and you will find that the command is not an executable, which means t...

TypeError: Cannot read property 'indexOf' of undefined at VueComponent.resetField

In this reused pop-up box, sometimes an error is reported in the console after the operation is successful:     I was puzzled until I clicked `element-ui.common.js? 5c96: 17242` in the error...

Cannot read property 'length' of undefined error in VUE

** Cannot read property ‘length’ of undefined when solution ** In the project, I encountered an error in length. I encountered a length error when doing the project. But it doesn't affect ...

More Recommendation

Vue Cannot Read Property '$ CREATEEEMENT' OF Undefined An error

1. When the Router of the initialization, an error Vue Cannot Read Property '$ CREATEEEMENT' of undefined, below is my part of my code. I didn't find it when I was started.componentsThis error, later ...

Vue error cannot read property '_wrapper' of undefined

In the Vue project, various plugins and UI libraries are used, and sometimes it will appear. Cannot Read Property '_wrapper' of undefined this error, at the beginning, I thought it was a referenced pl...

Vue error: Cannot Read Property 'ToolowerCase' of undefined "

Incoming mistakes encountered in MODAL components in Xiaomi Mall Problem Description: Parent Components Index.Vue gives sub-component MODAL.VUE pass values, custom events in submas, receives the value...

Cannot Read Property 'Vue' of undefined error

Confirm that the check is not your own code, write the problem, from the installation package, you can't read the Vue file, it should be the version of the installation package, this item uses the Vue...

The inexplicable error in Vue "Cannot Read Property of Undefined"

Exaggerate: Transfer from the original link: https://blog.csdn.net/weixin_46399753/article/details/104802204 This buddy is really good, it is a pity not to be a teacher. Foreword The Vue project often...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top