我想将 Remix - Ethereum IDE ( https://remix.ethereum.org ) 连接到本地主机。
我按照说明进行操作https://remix-ide.readthedocs.io/en/latest/remixd.html#update-to-the-latest-remixd:
npm install -g @remix-project/remixd
使用 npm 安装了 remix 守护进程。mkdir ~/shared_project
.chmod u+rw shared_project
我为本地用户授予了该文件夹的读/写权限。sudo remixd -s ~/shared_project --remix-ide https://remix.ethereum.org
。问题是,当我想将浏览器中的 Remix IDE 连接到本地主机时,我可以看到带有错误消息的弹出窗口Cannot connect to the remixd daemon. Please make sure you have the remixd running in the background.
。
我尝试重新启动守护进程:
ps -ef | grep remixd
sudo kill 1007
sudo remixd -s ~/shared_project --remix-ide https://remix.ethereum.org
。我尝试重新安装守护进程:
sudo …