Closed genox-wang closed 6 years ago
我在尝试上传类似 ioredis 类库 它依赖与 bluebird 和 lodash 等module,会提示 Error: Cannot find module 'xxxx', 但不知道如何把这些依赖添加进去,我分别上传也解决不了问题
ioredis里的node_modules文件夹里包含这些依赖就可以了
了解, thank you
我在尝试上传类似 ioredis 类库 它依赖与 bluebird 和 lodash 等module,会提示 Error: Cannot find module 'xxxx', 但不知道如何把这些依赖添加进去,我分别上传也解决不了问题