Removed serverExternalPackages and output configurations from next.config.ts and added build output log.

This commit is contained in:
2026-03-02 14:06:45 +01:00
parent 9ba17552e5
commit 96e3dd15ed
2 changed files with 71 additions and 2 deletions

71
build_output4.txt Normal file
View File

@@ -0,0 +1,71 @@
> plumeia@0.1.0 build
> npx prisma generate && next build
[dotenv@17.3.1] injecting env (4) from .env -- tip: ⚙️ load multiple .env files with { path: ['.env.local', '.env'] }
[dotenv@17.3.1] injecting env (0) from .env.local -- tip: 🛠️ run anywhere with `dotenvx run -- yourcommand`
Loaded Prisma config from prisma.config.ts.
Prisma schema loaded from prisma\schema.prisma.
✔ Generated Prisma Client (v7.4.1) to .\node_modules\@prisma\client in 76ms
Start by importing your Prisma Client (See: https://pris.ly/d/importing-client)
⚠ Warning: Next.js inferred your workspace root, but it may not be correct.
We detected multiple lockfiles and selected the directory of C:\Users\streaper2\package-lock.json as the root directory.
To silence this warning, set `turbopack.root` in your Next.js config, or consider removing one of the lockfiles if it's not needed.
See https://nextjs.org/docs/app/api-reference/config/next-config-js/turbopack#root-directory for more information.
Detected additional lockfiles:
* C:\Users\streaper2\Documents\00 - projet\plumeia\package-lock.json
▲ Next.js 16.1.6 (Turbopack)
- Environments: .env
Creating an optimized production build ...
✓ Compiled successfully in 1198.1ms
Skipping validation of types
Collecting page data using 31 workers ...
Generating static pages using 31 workers (0/10) ...
Generating static pages using 31 workers (2/10)
Generating static pages using 31 workers (4/10)
Generating static pages using 31 workers (7/10)
✓ Generating static pages using 31 workers (10/10) in 372.5ms
Finalizing page optimization ...
Route (app)
┌ ○ /
├ ○ /_not-found
├ ƒ /api/ai/generate
├ ƒ /api/ai/transform
├ ƒ /api/auth/[...nextauth]
├ ƒ /api/auth/register
├ ƒ /api/chapters
├ ƒ /api/chapters/[id]
├ ƒ /api/entities
├ ƒ /api/entities/[id]
├ ƒ /api/ideas
├ ƒ /api/ideas/[id]
├ ƒ /api/plans
├ ƒ /api/projects
├ ƒ /api/projects/[id]
├ ƒ /api/projects/[id]/workflow
├ ƒ /api/user/profile
├ ○ /checkout
├ ○ /dashboard
├ ○ /features
├ ○ /login
├ ○ /pricing
├ ○ /profile
├ ƒ /project/[id]
├ ƒ /project/[id]/ideas
├ ƒ /project/[id]/settings
├ ƒ /project/[id]/workflow
├ ƒ /project/[id]/world
└ ○ /signup
○ (Static) prerendered as static content
ƒ (Dynamic) server-rendered on demand

View File

@@ -1,14 +1,12 @@
import type { NextConfig } from "next"; import type { NextConfig } from "next";
const nextConfig: NextConfig = { const nextConfig: NextConfig = {
serverExternalPackages: ["bcrypt", "bcryptjs"],
typescript: { typescript: {
// NextAuth v5 beta handlers have type mismatches with Next.js 15 // NextAuth v5 beta handlers have type mismatches with Next.js 15
// Remove this when next-auth v5 stable releases // Remove this when next-auth v5 stable releases
ignoreBuildErrors: true, ignoreBuildErrors: true,
}, },
output: "standalone",
}; };
export default nextConfig; export default nextConfig;