I created a new project and npm run dev takes >30s to compile
❯ npx create-next-app@latest nextjs-blog
Need to install the following packages:
[email protected]
Ok to proceed? (y) y
✔ Would you like to use TypeScript? … No / Yes
✔ Would you like to use ESLint? … No / Yes
✔ Would you like to use Tailwind CSS? … No / Yes
✔ Would you like to use `src/` directory? … No / Yes
✔ Would you like to use App Router? (recommended) … No / Yes
✔ Would you like to customize the default import alias (@/*)? … No / Yes
✔ What import alias would you like configured? … @/*
Creating a new Next.js app in /Users/jawaugh/labs/scratch/fixme/nextjs-blog.
Using npm.
Initializing project with template: app-tw
Installing dependencies:
- react
- react-dom
- next
Installing devDependencies:
- typescript
- @types/node
- @types/react
- @types/react-dom
- autoprefixer
- postcss
- tailwindcss
- eslint
- eslint-config-next
added 360 packages, and audited 361 packages in 24s
128 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Initialized a git repository.
Success! Created nextjs-blog at /Users/jawaugh/labs/scratch/fixme/nextjs-blog
❯
❯ ls
nextjs-blog
❯ cd nextjs-blog
ls
❯ ls
README.md next-env.d.ts node_modules package.json public tsconfig.json
app next.config.mjs package-lock.json postcss.config.js tailwind.config.ts
❯ npm run dev
> [email protected] dev
> next dev
▲ Next.js 14.1.0
- Local: http://localhost:3000
✓ Ready in 6s
○ Compiling / ...
✓ Compiled / in 27.9s (510 modules)
✓ Compiled in 2.6s (240 modules)
○ Compiling /favicon.ico ...
✓ Compiled /favicon.ico in 4.4s (515 modules)
My first development environment took 30s, and even things like favicon.ico pulls 515 modules?