missing version information in vue-cli
benderl opened this issue · comments
Describe the bug
Running vue ui
and changing to the "dependencies" page results in an error message regarding a "ERR_INVALID_ARG_TYPE" on the console I started vue:
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at validateString (internal/validators.js:120:11)
at Object.join (path.js:1039:7)
at Object.readPackage (/usr/local/lib/node_modules/@vue/cli/node_modules/@vue/cli-ui/apollo-server/connectors/folders.js:131:24)
at readPackage (/usr/local/lib/node_modules/@vue/cli/node_modules/@vue/cli-ui/apollo-server/connectors/dependencies.js:78:20)
at getLink (/usr/local/lib/node_modules/@vue/cli/node_modules/@vue/cli-ui/apollo-server/connectors/dependencies.js:170:15)
at /usr/local/lib/node_modules/@vue/cli/node_modules/@vue/cli-ui/apollo-server/connectors/dependencies.js:58:16
at Array.map (<anonymous>)
at findDependencies (/usr/local/lib/node_modules/@vue/cli/node_modules/@vue/cli-ui/apollo-server/connectors/dependencies.js:53:5)
at Object.list (/usr/local/lib/node_modules/@vue/cli/node_modules/@vue/cli-ui/apollo-server/connectors/dependencies.js:39:5)
at dependencies (/usr/local/lib/node_modules/@vue/cli/node_modules/@vue/cli-ui/apollo-server/schema/dependency.js:56:57) {
code: 'ERR_INVALID_ARG_TYPE'
}
There is also no number behind the "version" label of vue-chart-3 shown in the browser.
As this is the only missing information on the whole dependency list, I can only guess the error message is related to this package.
To Reproduce
- start vue ui:
vue ui
- open vue ui in browser
- change to "dependencies"
- notice an error message in the shell running vue
- notice empty version number for the vue-chart-3 plugin
Version of vue-chart-3
v3.1.8
Version of Vue
- Vue 3
- Vue 2
- Nuxt 2
- Nuxt 3
Version of Vue-Cli
v5.0.4