brookshi / Hitchhiker

a Restful Api test tool
http://www.hitchhiker-api.com
Other
2.19k stars 402 forks source link

[问题][自定义脚本] 如何导入依赖库 #161

Closed genox-wang closed 6 years ago

genox-wang commented 6 years ago

我在尝试上传类似 ioredis 类库 它依赖与 bluebird 和 lodash 等module,会提示 Error: Cannot find module 'xxxx', 但不知道如何把这些依赖添加进去,我分别上传也解决不了问题

brookshi commented 6 years ago

ioredis里的node_modules文件夹里包含这些依赖就可以了

genox-wang commented 6 years ago

了解, thank you