Giter Site home page Giter Site logo

Comments (4)

jas0ncn avatar jas0ncn commented on June 5, 2024

检查一下 node_modules 的 lib/upload/index.js 是否确实是正确的:
https://github.com/tencentyun/wafer2-node-sdk/blob/master/lib/upload/index.js#L93

from wafer2-node-sdk.

LYnnProspery avatar LYnnProspery commented on June 5, 2024

确认,为正确代码,结果依然是imageKey为空
image
这期间为 调整uploadFolder参数的结果,但是个人感觉 无论路径层级,返回的imageKey为空都是有问题的。但是目前没有定位到问题
个人的cos配置

cos: {
        region: 'ap-beijing',
        // Bucket 名称       
        fileBucket: 'miss',
        // 文件夹
        uploadFolder: 'miss',

        SecretId: '###',
        SecretKey: '###',
    }

测试环境 ok,生产环境会出现此问题。

from wafer2-node-sdk.

jas0ncn avatar jas0ncn commented on June 5, 2024

依赖是线上安装的还是打包的本地 node_modules 呢?

from wafer2-node-sdk.

LYnnProspery avatar LYnnProspery commented on June 5, 2024

已解决 感谢

from wafer2-node-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.