'Vercel ERROR: Error! Package subpath './package.json' is not defined by "exports"
I'm trying to deploy my Nuxt.js site to Vercel but I get this error while deploying:
Error! Package subpath './package.json' is not defined by "exports" in /vercel/path0/node_modules/@nuxtjs/vercel-builder/package.json
Error: Command "vercel build" exited with 1
I'm using @nuxtjs/vercel-builder module and this is my vercel.json:
{
"version": 2,
"builds": [
{
"src": "nuxt.config.js",
"use": "@nuxtjs/vercel-builder"
}
]
}
Is there anything I could do to fix this? Thanks in advance!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
