Jason_Feng
Jason_Feng
The reason I found is that nuxt builds convert mysql2's lru-cache dependency into a symbolic link. But I don't know how to fix it
@wellwelwel Initialize a nuxt project Install mysql2 dependencies, create a database connection, and build the project 
enabled of nitro's experimental configuration`experimental: { legacyExternals: true }`,Use the old dependency algorithm to solve this problem.But the official documentation says that approach is unstable
@v0id-4lpz I solved this problem temporarily by building a script `scripts: { "build": "nuxt build --dotenv .env.prod && npm run del-lru-cache && npm run copy-lru-cache", "del-lru-cache": "rm -rf .output\\server\\node_modules\\mysql2\\node_modules\\lru-cache", "copy-lru-cache":...
What's the final solution @atypiape