Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KO installation on an existing project #287

Open
kaboume opened this issue Nov 18, 2024 · 2 comments
Open

KO installation on an existing project #287

kaboume opened this issue Nov 18, 2024 · 2 comments

Comments

@kaboume
Copy link

kaboume commented Nov 18, 2024

I have a Nuxt 3.x project that I started over a year ago and that worked with the vite vuetify plugin.
I wanted to install this module instead but when I run the command:

npx nuxi@latest module add vuetify-nuxt-module

I have a series of errors like this:

npx nuxi@latest module add vuetify-nuxt-module
ℹ Installing vuetify-nuxt-module@latest development dependency                                            09:59:24
 WARN  GET https://registry.npmjs.org/vuetify-nuxt-module error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@antfu%2Feslint-config error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@iconify-json%2Fcarbon error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@iconify-json%2Ftwemoji error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@iconify%2Fvue error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@nuxtjs%2Fsitemap error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@sidebase%2Fnuxt-auth error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@vue-leaflet%2Fvue-leaflet error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/eslint error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.     
 WARN  GET https://registry.npmjs.org/leaflet error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.    
 WARN  GET https://registry.npmjs.org/nuxt error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.       
 WARN  GET https://registry.npmjs.org/pinia error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.      
 WARN  GET https://registry.npmjs.org/sass error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.       
 WARN  GET https://registry.npmjs.org/typescript error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left. 
 WARN  GET https://registry.npmjs.org/@googlemaps%2Fjs-api-loader error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@mdi%2Ffont error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/vuetify-nuxt-module error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@antfu%2Feslint-config error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@iconify-json%2Fcarbon error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@iconify-json%2Ftwemoji error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@iconify%2Fvue error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@nuxtjs%2Fsitemap error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@sidebase%2Fnuxt-auth error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@vue-leaflet%2Fvue-leaflet error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/eslint error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.       
 WARN  GET https://registry.npmjs.org/leaflet error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.      
 WARN  GET https://registry.npmjs.org/nuxt error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/pinia error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.        
 WARN  GET https://registry.npmjs.org/sass error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/typescript error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.   
 WARN  GET https://registry.npmjs.org/@googlemaps%2Fjs-api-loader error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@mdi%2Ffont error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.  
 WARN  GET https://registry.npmjs.org/@pinia-plugin-persistedstate%2Fnuxt error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 ERR_PNPM_META_FETCH_FAIL  GET https://registry.npmjs.org/vuetify-nuxt-module: Value of "this" must be of type URLSearchParams
 WARN  GET https://registry.npmjs.org/@pinia%2Fnuxt error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@vuepic%2Fvue-datepicker error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/add-to-calendar-button error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/filesize error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.   
 WARN  GET https://registry.npmjs.org/get-video-id error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.

 ERROR  Command failed with exit code 1: corepack pnpm add -D vuetify-nuxt-module@latest                   10:00:34  

  at makeError (/C:/Users/ericm/AppData/Local/npm-cache/_npx/b95349761371180e/node_modules/nuxi/dist/chunks/index7.mjs:626:11)
  at handlePromise (/C:/Users/ericm/AppData/Local/npm-cache/_npx/b95349761371180e/node_modules/nuxi/dist/chunks/index7.mjs:1552:26)
  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
  at async executeCommand (/C:/Users/ericm/AppData/Local/npm-cache/_npx/b95349761371180e/node_modules/nuxi/dist/shared/nuxi.e773be50.mjs:43:3)
  at async addDependency (/C:/Users/ericm/AppData/Local/npm-cache/_npx/b95349761371180e/node_modules/nuxi/dist/shared/nuxi.e773be50.mjs:208:3)
  at async Object.setup (/C:/Users/ericm/AppData/Local/npm-cache/_npx/b95349761371180e/node_modules/nuxi/dist/chunks/add2.mjs:151:19)
  at async runCommand$1 (/C:/Users/ericm/AppData/Local/npm-cache/_npx/b95349761371180e/node_modules/nuxi/dist/shared/nuxi.bd0a2fa0.mjs:1620:5)
  at async runCommand$1 (/C:/Users/ericm/AppData/Local/npm-cache/_npx/b95349761371180e/node_modules/nuxi/dist/shared/nuxi.bd0a2fa0.mjs:1639:11)
  at async runCommand$1 (/C:/Users/ericm/AppData/Local/npm-cache/_npx/b95349761371180e/node_modules/nuxi/dist/shared/nuxi.bd0a2fa0.mjs:1639:11)
  at async runMain$1 (/C:/Users/ericm/AppData/Local/npm-cache/_npx/b95349761371180e/node_modules/nuxi/dist/shared/nuxi.bd0a2fa0.mjs:1777:7)

❯ Install failed for vuetify-nuxt-module@latest. Do you want to continue adding the module to nuxt.config?
○ Yes / ● No

What I don't understand is that I have other projects on my laptop that I started more recently with this plugin and no problem.

@kaboume
Copy link
Author

kaboume commented Nov 18, 2024

Nuxt project info: 10:06:43


  • Operating System: Windows_NT
  • Node Version: v20.15.0
  • Nuxt Version: ^3.14.159
  • CLI Version: 3.15.0
  • Nitro Version: 2.10.4
  • Package Manager: [email protected]
  • Builder: -
  • User Config: default
  • Runtime Modules: @pinia/nuxt@^0.5.1, @pinia-plugin-persistedstate/nuxt@^1.2.0, @sidebase/nuxt-auth@^0.5.0, @nuxtjs/sitemap@^6.1.2, vuetify-nuxt-module@^0.18.3
  • Build Modules: -

@nboyet
Copy link

nboyet commented Dec 29, 2024

@kaboume, the interesting log is the following : "ERR_PNPM_META_FETCH_FAIL  GET https://registry.npmjs.org/vuetify-nuxt-module: Value of "this" must be of type URLSearchParams"
According to this discussion : pnpm/pnpm#6424, it is probably coming from your pnpm/action-setup version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants