• 로그인
  • 장바구니에 상품이 없습니다.

home2 게시판 React 게시판 리액트 npm start no such file or directory 에러

리액트 npm start no such file or directory 에러

2 글 보임 - 1 에서 2 까지 (총 2 중에서)
  • 글쓴이
  • #20132

    rudgks
    참가자

    Creating a new React app in C:\Users\rudgk\OneDrive\바탕 화면\react1\blog.

    Installing packages. This might take a couple of minutes.
    Installing react, react-dom, and react-scripts with cra-template...

    added 1901 packages, and audited 1902 packages in 2m

    153 packages are looking for funding
    run npm fund for details

    27 vulnerabilities (16 moderate, 9 high, 2 critical)

    To address all issues, run:
    npm audit fix

    Run npm audit for details.
    Git repo not initialized Error: Command failed: git --version
    at checkExecSyncError (node:child_process:826:11)
    at execSync (node:child_process:900:15)
    at tryGitInit (C:\Users\rudgk\OneDrive\바탕 화면\react1\blog\node_modules\react-scripts\scripts\init.js:46:5)
    at module.exports (C:\Users\rudgk\OneDrive\바탕 화면\react1\blog\node_modules\react-scripts\scripts\init.js:283:7)
    at [eval]:3:14
    at Script.runInThisContext (node:vm:129:12)
    at Object.runInThisContext (node:vm:305:38)
    at node:internal/process/execution:81:19
    at [eval]-wrapper:6:22
    at evalScript (node:internal/process/execution:80:60) {
    status: 1,
    signal: null,
    output: [ null, null, null ],
    pid: 1288,
    stdout: null,
    stderr: null
    }

    Installing template dependencies using npm...

    added 57 packages, and audited 1959 packages in 6s

    154 packages are looking for funding
    run npm fund for details

    27 vulnerabilities (16 moderate, 9 high, 2 critical)

    To address all issues (including breaking changes), run:
    npm audit fix --force

    Run npm audit for details.
    Removing template package using npm...

    removed 1 package, and audited 1958 packages in 4s

    154 packages are looking for funding
    run npm fund for details

    27 vulnerabilities (16 moderate, 9 high, 2 critical)

    To address all issues (including breaking changes), run:
    npm audit fix --force

    Run npm audit for details.

    Success! Created blog at C:\Users\rudgk\OneDrive\바탕 화면\react1\blog
    Inside that directory, you can run several commands:

    npm start
    Starts the development server.

    npm run build
    Bundles the app into static files for production.
    npm test
    Starts the test runner.

    npm run eject
    Removes this tool and copies build dependencies, configuration files
    and scripts into the app directory. If you do this, you can’t go back!

    We suggest that you begin by typing:

    cd blog
    npm start

    Happy hacking!
    PS C:\Users\rudgk\OneDrive\바탕 화면\react1> npm start
    npm ERR! code ENOENT
    npm ERR! syscall open
    npm ERR! path C:\Users\rudgk\OneDrive\바탕 화면\react1/package.json
    npm ERR! errno -4058
    npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\rudgk\OneDrive\바탕 화면\react1\package.json'npm ERR! enoent This is related to npm not being able to find a file.
    npm ERR! enoent

    npm ERR! A complete log of this run can be found in:
    npm ERR! C:\Users\rudgk\AppData\Local\npm-cache\_logs\2021-11-18T09_56_25_552Z-debug.log
    PS C:\Users\rudgk\OneDrive\바탕 화면\react1>
    <h5>npm start 에러 ....16버전 17버전  다시깔고 구글링해봐도 모르겟네요..</h5>

    #20135

    codingapple
    키 마스터

    생성된 blog 프로젝트를 에디터로 폴더오픈하고 npm start 입력하셔야합니다 

2 글 보임 - 1 에서 2 까지 (총 2 중에서)
  • 답변은 로그인 후 가능합니다.

About

현재 월 700명 신규수강중입니다.

  (09:00~20:00) 빠른 상담은 카톡 플러스친구 코딩애플 (링크)
  admin@codingapple.com
  이용약관, 개인정보처리방침
ⓒ Codingapple, 강의 예제, 영상 복제 금지
top

© Codingapple, All rights reserved. 슈퍼로켓 에듀케이션 / 서울특별시 강동구 고덕로 19길 30 / 사업자등록번호 : 212-26-14752 온라인 교육학원업 / 통신판매업신고번호 : 제 2017-서울강동-0002 호 / 개인정보관리자 : 박종흠