nextjs-app 폴더 만들기
폴더 주소창 cmd
code .
B:\nextjs-app>npx create-next-app ./
Need to install the following packages:
create-next-app@15.1.7
Ok to proceed? (y) y
√ Would you like to use TypeScript? ... / Yes
√ Would you like to use ESLint? ... / Yes
√ Would you like to use Tailwind CSS? ... No /
√ Would you like your code inside a `src/` directory? ... No /
√ Would you like to use App Router? (recommended) ... No /
√ Would you like to use Turbopack for `next dev`? ... No /
√ Would you like to customize the import alias (`@/*` by default)? ... No /
Creating a new Next.js app in B:\nextjs-app.
Using npm.
Initializing project with template: default
Installing dependencies:
- react
- react-dom
- next
Installing devDependencies:
- typescript
- @types/node
- @types/react
- @types/react-dom
- eslint
- eslint-config-next
- @eslint/eslintrc
npm WARN tar TAR_ENTRY_ERROR EPERM: operation not permitted, open 'B:\nextjs-app\node_modules\array.prototype.tosorted\test\implementation.js'
npm WARN tar TAR_ENTRY_ERROR EPERM: operation not permitted, open 'B:\nextjs-app\node_modules\aria-query\lib\etc\roles\literal\contentinfoRole.js'
added 301 packages, and audited 302 packages in 57s
125 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Initialized a git repository.
Success! Created nextjs-app at B:\nextjs-app
npm notice
npm notice New major version of npm available! 10.2.4 -> 11.1.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.1.0
npm notice Run npm install -g npm@11.1.0 to update!
npm notice
'컴퓨터 > nextjs' 카테고리의 다른 글
next.js 설치 (0) | 2023.11.29 |
---|