Nuxt 3 Layers Broken ?
Is it me or is the Layer option ( extend) broken in nuxt ?
everything works when running localy but when trying to run a build for production it breaks
even on a simple extend of 1 component
BTW this is only when using a extend from a github repo
giving the following error
8 Replies
Do you have a reproduction?
there’s an open issue for this
I’ll find
GitHub
Failed to use
generate
when extends from a GitHub repo · Issue #1...Environment RootDir: C:/Users/esoubiran/dev/ArmoniK.Api/.docs 15:19:52 Nuxt project info: 15:19:52 Operating System: Windows_NT Node Version: v18.12.1 Nuxt Version: 3.0.0 Nitro Version: 1.0.0 Packa...
Not just you @Nossie 🙂
I am working around this by including a temp directory inside my repo.( a bit gross. )
I might be able to get a stackblitz repro for you tomorrow @manniL / TheAlexLichter
yeah the only possible nice sollution is to use NPM package as layer .. because you dont want to have 2 projects next to each other when publishing, so thats why i thought the repo option would be nice, but yeah that's not working indeed.
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
GitHub
Failed to use
generate
when extends from a GitHub repo · Issue #1...Environment RootDir: C:/Users/esoubiran/dev/ArmoniK.Api/.docs 15:19:52 Nuxt project info: 15:19:52 Operating System: Windows_NT Node Version: v18.12.1 Nuxt Version: 3.0.0 Nitro Version: 1.0.0 Packa...
I'm getting same on a monorepo, when deploying to Vercel