πŸ”₯[μ™Έ.μ•Š.되] about_Execution_PoliciesπŸ”₯

Now.MeΒ·2022λ…„ 8μ›” 7일
0

μ™Έ.μ•Š.되

λͺ©λ‘ 보기
1/1
post-custom-banner

μ˜€λžœλ§Œμ— 집에 있던 μ»΄ν“¨ν„°λ‘œ νšŒμ‚¬μ—μ„œ 진행쀑인 업무λ₯Ό 마무리 ν•˜κΈ°μœ„ν•΄ κΉƒν—™μ—μ„œ νŒ¨ν‚€μ§€λ₯Ό λ‹€μš΄λ°›μ•„ yarn을 μ‹€ν–‰ν–ˆλ‹€.
근데 νšŒμ‚¬μ—μ„œ μž˜λŒμ•„κ°€λ˜κ²Œ κ°‘μžκΈ° μ—λŸ¬κ°€ λ–³λ‹€.

μ™Έμ•Šλ˜!!!!!!!!!!!!!!!!!!!!!

κ·Έλž˜λ„ κ²°κ΅­ ν•΄κ²°ν–ˆλ‹€.

πŸ’Žν•΄κ²°λ°©λ²•

1. PowerShell을 κ΄€λ¦¬μž κΆŒν•œμœΌλ‘œ μ‹€ν–‰

  • "μ‹œμž‘"μ—μ„œ "PowerShell"을 κ²€μƒ‰ν•œλ‹€.(아직 PowerShell ν΄λ¦­ν•˜μ§€ λ§ˆμ„Έμš”!!)
  • "PowerShell"을 μš°ν΄λ¦­ν•œλ‹€.
  • "κ΄€λ¦¬μž κΆŒν•œμœΌλ‘œ μ‹€ν–‰"을 클릭해쀀닀.

2. ExecutionPolicy 확인

  • Get-ExecutionPolicyλ₯Ό μž…λ ₯ν•œλ’€ enter
  • "RemoteSigned"κ°€ μ•„λ‹ˆλ©΄ λ³€κ²½ν•΄μ€˜μ•Ό ν•œλ‹€. (λ‚˜λŠ” "Stricted" μ˜€λ‹€.)

3. ExecutionPolicy λ³€κ²½

  • Set-ExecutionPolicy RemoteSigned λ₯Ό μž…λ ₯ν•΄μ€€λ‹€.
  • 그럼 ExecutionPolicy 변경을 μ‹€ν–‰ 할껀지 λ‹€μ‹œ ν•œλ²ˆ λ¬Όμ–΄λ³Έλ‹€.
  • Yλ₯Ό μž…λ ₯ν•˜κ³  enter

4. ν”„λ‘œμ νŠΈ λ‹€μ‹œ μ‹€ν–‰

이제 ν•΄κ²° 됐을 것이닀. yarn이 잘 μ‹€ν–‰λ˜μ—ˆλ‹€.

πŸ™μ°Έκ³  μ‚¬μ΄νŠΈ (κ°μ‚¬ν•©λ‹ˆλ‹€. 덕뢄에 잘 ν•΄κ²°ν–ˆμ–΄μš”)

https://dog-developers.tistory.com/183![](https://velog.velcdn.com/images/now_me/post/98ec7ef4-b87b-46e9-b681-1446e5a2192c/image.png)

profile
Hi :) Future me
post-custom-banner

0개의 λŒ“κΈ€