win下 remix安装 遇到很多问题,

npm install -g remix-ide 安装成功
npm install remixd -g 安装失败,
npm install -g @remix-project/remixd 安装成功,得益于这篇文章,
  从零开始学区块链dapp开发之remix安装 - 知乎--
  https://zhuanlan.zhihu.com/p/453311457

remixd -s F:\Projects\XuNiProj\EOS-EVM\learn01 --remix-ide https://remix.ethereum.org 链接上网络了。

卸载插件npm uninstall -g remix-ide 后来发现卸载remix-ide也是没有影响的。

如果没有连接网络 会提示错误

 

 

 

ethereum · GitHub
https://github.com/ethereum




全局安装 npm install -g remix-ide 的提示:
F:\Projects\XuNiProj\EOS-EVM>npm install -g remix-ide
npm WARN npm npm does not support Node.js v16.15.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11, 12, 13.
npm WARN npm You can find the latest version at https://nodejs.org/
npm WARN npm npm does not support Node.js v16.15.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11, 12, 13.
npm WARN npm You can find the latest version at https://nodejs.org/
npm WARN deprecated ecstatic@3.3.2: This package is unmaintained and deprecated. See the GH Issue 259.
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
C:\Users\yc\AppData\Roaming\npm\remix-ide -> C:\Users\yc\AppData\Roaming\npm\node_modules\remix-ide\bin\remix-ide

> es5-ext@0.10.61 postinstall C:\Users\yc\AppData\Roaming\npm\node_modules\remix-ide\node_modules\es5-ext
>  node -e "try{require('./_postinstall')}catch(e){}" || exit 0

+ remix-ide@0.10.3
added 184 packages from 188 contributors in 185.794s

 

 安装 remixd 的失败和成功的 提示
Microsoft Windows [版本 10.0.14393]
(c) 2016 Microsoft Corporation。保留所有权利。


C:\Users\yc>npm install remixd -g
npm WARN npm npm does not support Node.js v16.15.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11, 12, 13.
npm WARN npm You can find the latest version at https://nodejs.org/
npm WARN npm npm does not support Node.js v16.15.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11, 12, 13.
npm WARN npm You can find the latest version at https://nodejs.org/
npm WARN deprecated remixd@0.2.4: this package has been deprecated. Please use @remix-project/remixd
npm WARN deprecated axios@0.20.0: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\remixd\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path C:\Users\yc\AppData\Roaming\npm\node_modules\remixd\lib\bin\remixd.js
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, chmod 'C:\Users\yc\AppData\Roaming\npm\node_modules\remixd\lib\bin\remixd.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\yc\AppData\Roaming\npm-cache\_logs\2022-07-27T08_15_05_948Z-debug.log

C:\Users\yc>npm install -g @remix-project/remixd
npm WARN npm npm does not support Node.js v16.15.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11, 12, 13.
npm WARN npm You can find the latest version at https://nodejs.org/
npm WARN npm npm does not support Node.js v16.15.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11, 12, 13.
npm WARN npm You can find the latest version at https://nodejs.org/
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
C:\Users\yc\AppData\Roaming\npm\remixd -> C:\Users\yc\AppData\Roaming\npm\node_modules\@remix-project\remixd\src\bin\remixd.js

> @remix-project/remixd@0.6.5 postinstall C:\Users\yc\AppData\Roaming\npm\node_modules\@remix-project\remixd
> node src/scripts/installSlither.js

[Slither Installation]: requires Python3.6+ (pip3) to be installed on your system
[Slither Installation]: solc-select will be installed along with Slither to set different solc compiler versions.
[Slither Installation]: checking pip3 availability ...
'pip3' �����ڲ����ⲿ���Ҳ���ǿ����еij���
�������ļ�
[Slither Installation]: Error occured: Error: Command failed: pip3 --version
'pip3' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\@remix-project\remixd\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

+ @remix-project/remixd@0.6.5
added 192 packages from 136 contributors in 36.615s

 remixd -s F:\Projects\XuNiProj\EOS-EVM\learn01 --remix-ide https://remix.ethereum.org 链接上网络了。 提示

Microsoft Windows [版本 10.0.14393]
(c) 2016 Microsoft Corporation。保留所有权利。

C:\Users\yc>remixd -s F:\Projects\XuNiProj\EOS-EVM\learn01 --remix-ide https://remix.ethereum.org
(node:29060) [DEP0128] DeprecationWarning: Invalid 'main' field in 'C:\Users\yc\AppData\Roaming\npm\node_modules\@remix-project\remixd\node_modules\@remixproject\plugin-ws\package.json' of 'src/index.js'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:29060) [DEP0128] DeprecationWarning: Invalid 'main' field in 'C:\Users\yc\AppData\Roaming\npm\node_modules\@remix-project\remixd\node_modules\@remixproject\plugin-utils\package.json' of 'src/index.js'. Please either fix that or report it to the module author
(node:29060) [DEP0128] DeprecationWarning: Invalid 'main' field in 'C:\Users\yc\AppData\Roaming\npm\node_modules\@remix-project\remixd\node_modules\@remixproject\plugin\package.json' of 'src/index.js'. Please either fix that or report it to the module author
(node:29060) [DEP0128] DeprecationWarning: Invalid 'main' field in 'C:\Users\yc\AppData\Roaming\npm\node_modules\@remix-project\remixd\node_modules\@remixproject\plugin-api\package.json' of 'src/index.js'. Please either fix that or report it to the module author
(node:29060) [DEP0128] DeprecationWarning: Invalid 'main' field in 'C:\Users\yc\AppData\Roaming\npm\node_modules\@remix-project\remixd\node_modules\@remixproject\plugin-utils\package.json' of 'src/index.js'. Please either fix that or report it to the module author
(node:29060) [DEP0128] DeprecationWarning: Invalid 'main' field in 'C:\Users\yc\AppData\Roaming\npm\node_modules\@remix-project\remixd\node_modules\@remixproject\plugin\package.json' of 'src/index.js'. Please either fix that or report it to the module author
[INFO] you are using the latest version 0.6.5
[WARN] You may now only use IDE at https://remix.ethereum.org to connect to that instance
[WARN] Any application that runs on your computer can potentially read from and write to all files in the directory.
[WARN] Symbolic links are not forwarded to Remix IDE

[INFO] Wed Jul 27 2022 16:45:09 GMT+0800 (中国标准时间) remixd is listening on 127.0.0.1:65520
[INFO] Wed Jul 27 2022 16:45:09 GMT+0800 (中国标准时间) slither is listening on 127.0.0.1:65523
[INFO] Wed Jul 27 2022 16:45:09 GMT+0800 (中国标准时间) hardhat is listening on 127.0.0.1:65522

 

posted @ 2023-10-18 17:01  海蓝7  阅读(225)  评论(0编辑  收藏  举报