[npm install]Error: EACCES: permission denied, access '/user/local/lib/node_modules'

이미지
  이제 막 시작인데.. npm 설치 시작부터 오류가 주르륵 뜬다.  역시 뭔말인지 모르므로 구글링... 맥북에서의 npm 설치는 관리자권한 설정이 필요한 경우가 있기 때문에 무작정 install 을 했다가는 이런 오류가 뜨게 된다. 간단한 방법은 설치명령어 앞에 sudo를 붙여주는 것이다. 관리자권한을 주는 방법들도 있지만 난 그냥 이 방법으로 하기로 했다. npm에 이어 expo-cli 설치시에도 "sudo npm install -g expo-cli" 라고 명령하면 무사히 expo도 설치된다. 물론 이 모든 과정은 터미널에서 진행한다. +++++ It's just starting.. Errors are popping up from the start of npm installation. I don't know what you're talking about, so I googled it... Since npm installation on MacBook sometimes requires administrator rights settings, this error will appear if you try to install blindly. A simple way is to prefix the installation command with 'sudo'. There are ways to give administrator rights, but I just decided to do it this way. When installing expo-cli following npm, command "sudo npm install -g expo-cli" to install expo safely. Of course, all of this is done in the terminal.

[Xcode]Thread 1: breakpoint 1.1 (1) 에러

  CMD+7 누르고 좌측에 생긴 모든 breakpoint들을 삭제해주면 된다. 코드 작성 중에 실수로 더블클릭하거나 체크를 해줘서 breakpoint가 생겨서, 코드를 실행했을때 "Thread1:breakpoint1.1(1)" 에러가 뜨면서 실행되지 않는 현상이 나타난다. 코딩창의 숫자부분에 파란색 표시가 뜨는데, 플래그 버튼을 선택 해제하면 파란색이 없어지면서 해결된다. Press CMD+7 and delete all breakpoints on the left.  While writing the code, a breakpoint was created by accidentally double-clicking or checking the code, and when the code was executed, a "Thread1:breakpoint1.1(1)" error appeared and it did not run. A blue mark appears on the number part of the coding window, but the blue color disappears when the flag button is deselected.

[Xcode]unrecognized selector sent to instance "******" 에러 대처법

이미지
  xcode 오른쪽 상단의 connections inspector 에서 문제가 되는 부분의 연결을 끊었다가 다시 연결해본다. 코드 작성 중에 변수명을 변경한 경우에는 연결을 해제했다가 다시 연결해야 위의 에러가 나오지 않는다. In the connections inspector at the top right of xcode, disconnect the problem part and reconnect. If the variable name is changed while writing the code, the above error does not appear until the connection is disconnected and then reconnected.