-
Notifications
You must be signed in to change notification settings - Fork 26
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 2.0.0 发布日志 #12
Comments
提问:使用spm install gallery/[email protected]报错是怎么回事?之前一直是好好的,google了半天没找到原因。 |
|
谢谢!以前的地址不能用了吗?只能先searche? |
@yyy651016236 jquery is now located at |
spm版本2.1.10 spm search jquery 报错了: error: { [Error: connect ETIMEDOUT] code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'connect' } 我使用 spm install seajs/seajs 能成功,但是安装如jquery则失败,问题同上。 |
我照着文档在试:
提示: |
解决了: |
首先申明一下 spm 不是构建工具,spm 是包管理器。作为一个包管理器,它的主要任务是管理包,也就是管理 cmd 模块。
同时我们的源服务网站也步入 alpha 了,功能还未完善,我们将在使用中进步。spm 的主要任务即是与源服务打交道,包括获取模块信息(spm info)、搜索模块(spm search)、下载模块(spm install)、上传模块(spm publish)等。
当然,并不是说 spm 就不做构建了,它将负责 cmd 标准模块的构建。业务代码的构建方案请参考 grunt-spm-build,同时,关于构建的 issue 请不要提到 spm2 里来,请提到 grunt-spm-build。
我们的文档网站是 http://docs.spmjs.org 。目前文档还在写作中,欢迎帮助完善文档。
grunt
关于自定义构建,我们推荐使用 grunt。我们为你提供了一些 task (这些 task 也用于 spm build):
plugins
你可以安装插件来扩展 spm 的命令,我们已发布了:
安装与使用
获取 spm 2.0:
使用 spm:
你还可以查看一下演示(录制较早,部分功能略有不同): http://ascii.io/a/2533
seajs
seajs 2.0 发布日志:seajs/seajs#451
The text was updated successfully, but these errors were encountered: