I have a Nuxt 3.14 project running in Vercel. Its been working fine but all of a sudden I get a build error.
Its weird because when I build the “main” branch its working fine, but when I try and build the same commit from a different branch, I get the build error:
[error] [nitro] Error: ENOENT: no such file or directory, realpath '/vercel/path0/node_modules/.pnpm/vue-router@4.3.2_vue@3.4.27/node_modules/vue'
What could cause this difference? Im not using any environment variables during build and “staging” and “main” are using the samme variables (“Preview”) any way.
I could try and debug the packages but that doesnt seem logic to do as its working on “main”.
Any clues what to do?
