mac zsh 16

21.10.26 Error: error:0308010C:digital envelope routines::unsupported

https://stackoverflow.com/questions/69692842/error0308010cdigital-envelope-routinesunsupported error:0308010C:digital envelope routines::unsupported I created the default intelij React project and got this: Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:67:19) at Object.createHash (node: stackoverflow.com react 프로젝트를 실행했을 때, 발생한 에러이다. 아래 커맨드를 ..

mac zsh 2021.10.26

21.10.26 code . 안되는 문제 해결

터미널에서 프로젝트 디렉토리를 VScode에서 열려면 code . 을 입력하면 되는데 다음과 같은 permission error가 발생한다. EACCES: permission denied, unlink 'usr/local/bin/code' 해결방법은 bin 디렉토리에 접근하여 PATH code 를 지우고 나서 다시 'install code' shell command를 입력하는 것이다. cd /usr/local/bin sudo rm -rf code //in VScode //command+shift+p 클릭 후 아래 커맨드 입력 install code 맥북을 완전히 껐다가 키면 또 code . 이 실행 안된다면 ./zshrc 파일 끝에 다음 코드 추가 후 code () { VSCODE_CWD="$PWD" o..

mac zsh 2021.10.26

21.10.26 npm module semver

apollo server 폴더를 git clone 해서 npm install 명령어를 통해 package.json에 있는 모듈을 다운받으려고 했는데 module semver가 없다는 오류가 발생했다. 해당 오류는 node 버전이 달라서 생기는 문제였다. 1: https://ubuntu.buildwebhost.com/ko/q/120352 NPM 오류 (모듈 'semver'를 찾을 수 없음) npm과 nodejs가 제대로 작동했습니다.나는 다른 무언가로 작업하면서 몇 달 동안 엉망이되지 않았습니다.오늘 나는 몇 가지 프로젝트를 확인하기 위해 돌아 왔고 npm run dev 를 실행했을 때 nodejs를 ubuntu.buildwebhost.com 1번 링크를 참고하여 npm uninstall npm -g rm..

mac zsh 2021.10.26