인프런 커뮤니티 질문&답변

hackingbiz님의 프로필 이미지

작성한 질문수

비전공자를 위한 진짜 입문 올인원 개발 부트캠프

React 시작하기

그대로 따라한것 같은데 에러가 뜨는데 확인 부탁드립니다.

21.07.01 09:46 작성

·

4.8K

2

Windows PowerShell

Copyright (C) Microsoft Corporation. All rights reserved.

PS D:\learn-all-with-javascript\grab-market-web> npm install -g create-react-app

C:\Users\motiongrapher\AppData\Roaming\npm\create-react-app -> C:\Users\motiongrapher\AppData\Roaming\npm\node_modules\create-react-app\index.js

+ create-react-app@4.0.3

added 67 packages from 25 contributors in 5.659s

PS D:\learn-all-with-javascript\grab-market-web> create -react-app .

경로가 포함된 경우 경로가 올바른지 검증한 다음 다시 시도하십시오.

위치 줄:1 문자:1

+ create -react-app .

+ ~~~~~~

    + CategoryInfo          : ObjectNotFound: (create:String) [], CommandNotFoundException

    + FullyQualifiedErrorId : CommandNotFoundException

 

create-react-app : 이 시스템에서 스크립트를 실행할 수 없으므로 C:\Users\motiongrapher\AppData\Roaming\npm\create-react-app.ps1 파일을   

로드할 수 없습니다. 자세한 내용은 about_Execution_Policies(https://go.microsoft.com/fwlink/?LinkID=135170)를 참조하십시오.

위치 줄:1 문자:1

+ create-react-app

+ ~~~~~~~~~~~~~~~~

    + CategoryInfo          : 보안 오류: (:) [], PSSecurityException

    + FullyQualifiedErrorId : UnauthorizedAccess

PS D:\learn-all-with-javascript\grab-market-web> create-react-app .

로드할 수 없습니다. 자세한 내용은 about_Execution_Policies(https://go.microsoft.com/fwlink/?LinkID=135170)를 참조하십시오.

위치 줄:1 문자:1

+ create-react-app .

+ ~~~~~~~~~~~~~~~~

    + CategoryInfo          : 보안 오류: (:) [], PSSecurityException

    + FullyQualifiedErrorId : UnauthorizedAccess

PS D:\learn-all-with-javascript\grab-market-web> create-react-app.

름이 정확한지 확인하고 경로가 포함된 경우 경로가 올바른지 검증한 다음 다시 시도하십시오.

위치 줄:1 문자:1

+ create-react-app.

+ ~~~~~~~~~~~~~~~~~

    + CategoryInfo          : ObjectNotFound: (create-react-app.:String) [], CommandNotFoundException

    + FullyQualifiedErrorId : CommandNotFoundException

 

PS D:\learn-all-with-javascript\grab-market-web> create-react-app .

create-react-app : 이 시스템에서 스크립트를 실행할 수 없으므로 C:\Users\motiongrapher\AppData\Roaming\npm\create-react-app.ps1 파일을   

로드할 수 없습니다. 자세한 내용은 about_Execution_Policies(https://go.microsoft.com/fwlink/?LinkID=135170)를 참조하십시오.

위치 줄:1 문자:1

+ create-react-app .

+ ~~~~~~~~~~~~~~~~

    + CategoryInfo          : 보안 오류: (:) [], PSSecurityException

    + FullyQualifiedErrorId : UnauthorizedAccess

PS D:\learn-all-with-javascript\grab-market-web> npm create-react-app.

Usage: npm <command>

where <command> is one of:

    access, adduser, audit, bin, bugs, c, cache, ci, cit,

    clean-install, clean-install-test, completion, config,

    create, ddp, dedupe, deprecate, dist-tag, docs, doctor,

    edit, explore, fund, get, help, help-search, hook, i, init,

    install, install-ci-test, install-test, it, link, list, ln,

    login, logout, ls, org, outdated, owner, pack, ping, prefix,

    profile, prune, publish, rb, rebuild, repo, restart, root,

    run, run-script, s, se, search, set, shrinkwrap, star,

    uninstall, unpublish, unstar, up, update, v, version, view,

    whoami

npm <command> -h  quick help on <command>

npm -l            display full usage info

npm help <term>   search for help on <term>

npm help npm      involved overview

Specify configs in the ini-formatted file:

    C:\Users\motiongrapher\.npmrc

or on the command line via: npm <command> --key value

Config info can be viewed via: npm help config

npm@6.14.13 C:\Program Files\nodejs\node_modules\npm

PS D:\learn-all-with-javascript\grab-market-web> create-react-app.    

create-react-app. : 'create-react-app.' 용어가 cmdlet, 함수, 스크립트 파일 또는 실행할 수 있는 프로그램 이름으로 인식되지 않습니다. 이  

름이 정확한지 확인하고 경로가 포함된 경우 경로가 올바른지 검증한 다음 다시 시도하십시오.

위치 줄:1 문자:1

+ create-react-app.

+ ~~~~~~~~~~~~~~~~~

    + CategoryInfo          : ObjectNotFound: (create-react-app.:String) [], CommandNotFoundException

    + FullyQualifiedErrorId : CommandNotFoundException

 

PS D:\learn-all-with-javascript\grab-market-web>

답변 1

0

그랩님의 프로필 이미지
그랩
지식공유자

2021. 07. 01. 23:57

요 링크대로 따라해보시겠어요?
https://cishome.tistory.com/138

yongbyn님의 프로필 이미지

2023. 12. 07. 15:11

해결됐습니다. 감사합니다.