转:https://blog.csdn.net/platocnet/article/details/83376792

1. 测试发现使用npm命令安装相关环境不成功,换成淘宝cnpm后顺利解决,应该是网络访问问题

淘宝cnpm安装方法:

npm install -g cnpm --registry=https://registry.npm.taobao.org

淘宝cnpm链接:

http://npm.taobao.org/

2. 使用cnpm安装remixd工具,该工具会在本地建立一个websocket服务器,然后就可以使用网页remix端与其进行连接了

先安装remixd:

cnpm install -g remixd

安装完成后需要使用remixd指定本地文件系统路径(绝对路径):

remixd -s <absolute-path-to-the-shared-folder>
如:remixd -s ./ --remix-ide http://localhost:8080

在remix网页端发起连接:

让remix使用本地文件系统

成功后就可以看到电脑本地文件了:

让remix使用本地文件系统

 附上remix的官方使用说明链接:

https://remix.readthedocs.io/en/latest/index.html

相关文章:

  • 2021-04-08
  • 2022-12-23
  • 2022-12-23
  • 2021-12-10
  • 2021-08-09
  • 2022-12-23
  • 2021-04-11
  • 2021-05-08
猜你喜欢
  • 2022-03-01
  • 2021-11-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-30
  • 2021-06-14
相关资源
相似解决方案