Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

1.9K
Views
Errors : vue add vuetify

vue add vuetify

ERROR Error: You cannot call "get" on a collection with no paths. Instead, check the "length" property first to verify at least 1 path exists.

โžœ  git:(master) โœ— vue add vuetify

๐Ÿ“ฆ  Installing vue-cli-plugin-vuetify...

yarn add v1.22.10
[1/4] ๐Ÿ”  Resolving packages...
[2/4] ๐Ÿšš  Fetching packages...
[3/4] ๐Ÿ”—  Linking dependencies...#######################################################################################----] 1133/1170
[4/4] ๐Ÿ”จ  Building fresh packages...
success Saved 1 new dependency.
info Direct dependencies
โ””โ”€ vue-cli-plugin-vuetify@2.4.5
info All dependencies
โ””โ”€ vue-cli-plugin-vuetify@2.4.5
โœจ  Done in 3.66s.
โœ”  Successfully installed plugin: vue-cli-plugin-vuetify

? Choose a preset: Default (recommended)

๐Ÿš€  Invoking generator for vue-cli-plugin-vuetify...
 ERROR  Error: You cannot call "get" on a collection with no paths. Instead, check the "length" property first to verify at least 1 path exists.
Error: You cannot call "get" on a collection with no paths. Instead, check the "length" property first to verify at least 1 path exists.
    at Collection.get (/Users/alpha/.nvm/versions/node/v14.17.3/lib/node_modules/@vue/cli/node_modules/jscodeshift/src/Collection.js:213:13)
    at injectOptions (/Users/alpha/.nvm/versions/node/v14.17.3/lib/node_modules/@vue/cli/lib/util/codemods/injectOptions.js:15:6)
    at runTransformation (/Users/alpha/.nvm/versions/node/v14.17.3/lib/node_modules/@vue/cli/node_modules/vue-codemod/dist/src/runTransformation.js:60:17)
    at /Users/alpha/.nvm/versions/node/v14.17.3/lib/node_modules/@vue/cli/lib/Generator.js:290:23
    at Array.forEach (<anonymous>)
    at Generator.resolveFiles (/Users/alpha/.nvm/versions/node/v14.17.3/lib/node_modules/@vue/cli/lib/Generator.js:276:24)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async Generator.generate (/Users/alpha/.nvm/versions/node/v14.17.3/lib/node_modules/@vue/cli/lib/Generator.js:175:5)
    at async runGenerator (/Users/alpha/.nvm/versions/node/v14.17.3/lib/node_modules/@vue/cli/lib/invoke.js:111:3)
    at async invoke (/Users/alpha/.nvm/versions/node/v14.17.3/lib/node_modules/@vue/cli/lib/invoke.js:92:3)

I've tried again

enter image description here

Now I got this

enter image description here

over 4 years ago ยท Santiago Trujillo
1 answers
Answer question

0

There must be the following code in the main.js, otherwise the error will occur. So just add this code before installation:

new Vue({
    render: h => h(App),
}).$mount('#app');
over 4 years ago ยท Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
ยฉ 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!