Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spm install发生错误 #72

Closed
lichunqiang opened this issue Aug 8, 2013 · 7 comments
Closed

spm install发生错误 #72

lichunqiang opened this issue Aug 8, 2013 · 7 comments

Comments

@lichunqiang
Copy link

系统环境是win7。
使用命令

spm install arale/position

报错:

        install: arale/position@stable
          fetch: arale/position@stable
           yuan: { [Error: connect ETIMEDOUT] code: 'ETIMEDOUT', errno: 'ETIMEDO
UT', syscall: 'connect' }
           warn: not in cache
          error: not found
          error: connect ETIMEDOUT

该如何解决。多谢。

@popomore
Copy link
Member

popomore commented Aug 8, 2013

spm config show

看看你的配置

@lichunqiang
Copy link
Author

@popomore

  [user]
  gruntfile = C:\Users\Administrator\AppData\Roaming\npm\node_modules\apm\Gruntfile.js

  [online-status]
  online = https://a.alipayobjects.com

  [source:default]
  url = http://yuan.alipay.im

  [source:spmjs]
  url = https://spmjs.org

  [source:alipay]
  url = http://yuan.alipay.im

@popomore
Copy link
Member

popomore commented Aug 8, 2013

可能是你装了 apm 了

spm config source:default.url https://spmjs.org

@lichunqiang
Copy link
Author

可以了。不过我没有印象装apm啊。
还有在这种情况下install seajs是成功的。
十分感谢!

@iambean
Copy link

iambean commented Nov 21, 2014

楼主是怎么好的啊?我现在也这样,悲剧

@sorrycc
Copy link
Member

sorrycc commented Nov 21, 2014

@iambean 貌似是 spm2? 那么 spm config show 看下配置里 source:default 是什么。

@iambean
Copy link

iambean commented May 12, 2015

@sorrycc 谢谢云谦,一直没用seajs了,打包的问题好像比较麻烦。spm到现在也运行不了,跟楼主一样的错,spm config show的内容是

 [source:spm]
  url = https://spmjs.org

  [source:default]
  url = https://spmjs.org

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

No branches or pull requests

4 participants