【发布时间】:2011-08-12 07:37:05
【问题描述】:
我想上传一个文件到 s3,所以我想运行这篇文章中的上传程序: http://www.componentix.com/blog/9
为此,我需要安装多部分模块。 https://github.com/isaacs/multipart-js
但是通过执行 npm install multipart 会报错
我应该如何安装这个多部分模块才能让这个程序运行?
【问题讨论】:
-
npm install multipart时遇到什么错误? -
从github下载并作为简单的nodejs模块使用
-
@Emmerman 我下载了,但如何将它用作简单的 nodejs 模块?
-
@neebz 它给出 404 错误 Not found multipart
-
最好将它作为 git repo 添加到 npm。通常,您必须使用
git+ssh方案。"dependencies": { "project": "git+ssh://user@hostname:project.git#commit-ish" }
标签: file-upload node.js multipart