Vercel Analytics with Nuxt 3

Has anyone successfully tried to activate Vercel Analitics on a deployed Nuxt 3 project? Everytime I do, the build fails. It adds the @nuxtjs/web-vitals package automatically and then does this:
[05:51:01.661] Running build in San Francisco, USA (West) – sfo1
[05:51:01.705] Cloning github.com/madebyfabian/madebyfabian (Branch: main, Commit: 10f8644)
[05:51:02.662] Cloning completed: 952.986ms
[05:51:05.075] Running "vercel build"
[05:51:05.645] Vercel CLI 28.15.3
[05:51:06.876] Injecting Nuxt.js analytics plugin "@nuxtjs/web-vitals" to `/vercel/path0/.nuxtrc`
[05:51:06.879] Adding "@nuxtjs/web-vitals" to `package.json` "dependencies"
[05:51:06.989] Detected `pnpm-lock.yaml` generated by pnpm 7...
[05:51:07.011] Installing dependencies...
[05:51:07.877] Error: Command "pnpm install" exited with 1
[05:51:01.661] Running build in San Francisco, USA (West) – sfo1
[05:51:01.705] Cloning github.com/madebyfabian/madebyfabian (Branch: main, Commit: 10f8644)
[05:51:02.662] Cloning completed: 952.986ms
[05:51:05.075] Running "vercel build"
[05:51:05.645] Vercel CLI 28.15.3
[05:51:06.876] Injecting Nuxt.js analytics plugin "@nuxtjs/web-vitals" to `/vercel/path0/.nuxtrc`
[05:51:06.879] Adding "@nuxtjs/web-vitals" to `package.json` "dependencies"
[05:51:06.989] Detected `pnpm-lock.yaml` generated by pnpm 7...
[05:51:07.011] Installing dependencies...
[05:51:07.877] Error: Command "pnpm install" exited with 1
So I installed this module manually but having the exact same issue.
3 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Fabian B.
Fabian B.OP2y ago
@Mahdi Thanks! This solved it. Though it should work without installing.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server