본문 바로가기
블록체인/WEB3 개발

Remixd 문제 해결 : Cannot connect to the remixd daemon. Please make sure you have the remixd running in the background.

by 제이제이_은재 2022. 7. 12.
반응형

 

💡Remixd alert 해결하기

remixd를 이용하여 remix IDE를 로컬 파일과 연결하려고 시도하는 중에 위와 같은 에러를 만났다.

 

 

Cannot connect to the remixd daemon.
Please make sure you have the remixd running in the background.

 

https://www.npmjs.com/package/@remix-project/remixd

 

@remix-project/remixd

remix server: allow accessing file system from remix.ethereum.org and start a dev environment (see help section). Latest version: 0.6.3, last published: an hour ago. Start using @remix-project/remixd in your project by running `npm i @remix-project/remixd`

www.npmjs.com

 

공식문서에 있는 방식처럼 지웠다 다시 깔아보기도 하고 경로를 다시 확인해보기도 했는데 똑같은 에러만 반복됐을 뿐이다.

uninstall the old one: npm uninstall -g remixd
install the new: yarn global add @remix-project/remixd

 

한참 헤맸는데 이슈는 생각보다 쉽게 해결되었다.

 

➤ 공식문서에 있던 명령어

remixd -s <absolute-path> --remix-ide https://remix.ethereum.org

 

➤ 내가 수정한 명령어

remixd -s <absolute-path> --remix-ide 'https://remix.ethereum.org'

 

뒤 링크를 ' '안에 넣어 주었더니 연결이 됐다. 내가 이상한건지, ''안에 링크를 넣어주는 것이 맞는 건지는 잘 모르겠지만 혹시 같은 이슈를 해결하기 위해 여길 보고 계신 분들이라면 혹시 모르니 ''를 추가해 한 번 더 해보시길 바란다. (찾아 본 결과 ''는 상관 없는 듯 하다.)

 

추가) https를 혹시 사용하는 익스플로러가 차단하고 있는지 확인해준다.

반응형

댓글