Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

atom-shell缺乏更新 #1206

Closed
isnolan opened this issue Jul 29, 2017 · 14 comments · Fixed by cnpm/mirrors#212
Closed

atom-shell缺乏更新 #1206

isnolan opened this issue Jul 29, 2017 · 14 comments · Fixed by cnpm/mirrors#212

Comments

@isnolan
Copy link

isnolan commented Jul 29, 2017

atom-shell项目目前只能更新到3月份的v1.6.5版本,之后的新版本都无法更新到资源。

我检查了亚马逊的源,确实比较难找入口去正确下载到新版本的内容。但是建议CNPM增加手工同步指定项目版本的方法或能力,感谢!

@keyiis
Copy link

keyiis commented Aug 12, 2017

最近升级项目碰到同样的问题

@ghost
Copy link

ghost commented Mar 3, 2018

同样+1,electron 1.7.10

@fengmk2
Copy link
Member

fengmk2 commented Mar 3, 2018

请问如何重现你说反馈的问题?

@Sean-214
Copy link

@fengmk2 electron-rebuild新版本的electron已经无法使用这个镜像了

见网站https://npm.taobao.org/mirrors的Usage
electron-rebuild -d=https://npm.taobao.org/mirrors/atom-shell

@alsotang
Copy link
Member

@Sean-214 https://npm.taobao.org/mirrors/electron/ 这个可以用吗?

@alsotang
Copy link
Member

如果能用的话,我们就更新一下文档。我看文档里面 https://npm.taobao.org/mirrors/https://npm.taobao.org/mirrors/electron/https://npm.taobao.org/mirrors/atom-shell 都出现了,可能有混乱。

@alsotang
Copy link
Member

如果你能直接提 pr 更好: https://github.com/cnpm/mirrors/blob/master/views/home.html

@Sean-214
Copy link

@alsotang 不行的,我看文档上说因为electron的V8引擎和nodejs不一样,所以原生模块要重新编译,需要去下载electron的头文件。下载链接是这样的:

> node-gyp rebuild --target=4.0.1 --arch=x64 --dist-url=https://atom.io/download/electron
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp http GET https://atom.io/download/electron/v4.0.1/node-v4.0.1-headers.tar.gz
gyp http 200 https://atom.io/download/electron/v4.0.1/node-v4.0.1-headers.tar.gz
gyp http GET https://atom.io/download/electron/v4.0.1/SHASUMS256.txt
gyp http GET https://atom.io/download/electron/v4.0.1/win-x64/node.lib
gyp http GET https://atom.io/download/electron/v4.0.1/win-x86/node.lib
gyp http 200 https://atom.io/download/electron/v4.0.1/win-x86/node.lib
gyp http 200 https://atom.io/download/electron/v4.0.1/SHASUMS256.txt
gyp http 200 https://atom.io/download/electron/v4.0.1/win-x64/node.lib
...

@Sean-214
Copy link

@alsotang 有时候下载的就比较费劲了,还是很需要一个镜像的。

gyp http GET https://atom.io/download/electron/v4.0.1/win-x86/node.lib
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: connect ETIMEDOUT 54.231.49.48:443
gyp ERR! stack     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1117:14)

@alsotang
Copy link
Member

同步失败主要是 https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/index.json 这个文件拉不动。我看看怎么替代这个逻辑

@alsotang
Copy link
Member

https://github.com/electron/electron/search?q=atom-shell%2Fdist&unscoped_q=atom-shell%2Fdist
看了看。electron跟这个atom-shell还是有关系的,所以照着原来的逻辑修复了一下。
cnpm/mirrors#212

@alsotang
Copy link
Member

@Sean-214 再试试,应该好了。

@Sean-214
Copy link

@alsotang 可以了,非常感谢!!!

@Constaline
Copy link

atom-shell 镜像目前只更新到19年10月份的 v7.0.0-beta.7 版本,后续的新版本都没有更新。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants