Skip to content
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

3.99版本无法调用wx.qy.login #4748

Open
cos800 opened this issue Feb 28, 2024 · 2 comments
Open

3.99版本无法调用wx.qy.login #4748

cos800 opened this issue Feb 28, 2024 · 2 comments

Comments

@cos800
Copy link

cos800 commented Feb 28, 2024

    export default {
        data() {
            return {
                
            }
        },
        onLoad() {
            wx.qy.login({
                complete(res) {
                    console.log('qylogin result:', res);
                }
            });
            
        },
        methods: {
            
        }
    }

image

@cos800
Copy link
Author

cos800 commented Feb 28, 2024

在 HBuilderX 目录下执行 npx patch-hbuilderx-plugins 失败

$ npx patch-hbuilderx-plugins
Need to install the following packages:
  patch-hbuilderx-plugins@1.0.5
Ok to proceed? (y) y
? HBuilderX Path C:\Program Files\HBuilderX
HBuilderX Version: 3.99.2023122611
C:\Users\thisky\AppData\Local\npm-cache\_npx\ab8e574058bea07e\node_modules\degit\dist\index-688c5d50.js:14258
                        throw new DegitError(`could not find commit hash for ${repo.ref}`, {
                              ^

DegitError: could not find commit hash for v3.99.2023122611
    at Degit._cloneWithTar (C:\Users\thisky\AppData\Local\npm-cache\_npx\ab8e574058bea07e\node_modules\degit\dist\index-688c5d50.js:14258:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Degit.clone (C:\Users\thisky\AppData\Local\npm-cache\_npx\ab8e574058bea07e\node_modules\degit\dist\index-688c5d50.js:14096:4)
    at async patch (C:\Users\thisky\AppData\Local\npm-cache\_npx\ab8e574058bea07e\node_modules\patch-hbuilderx-plugins\scripts\patch.js:43:3) {
  code: 'MISSING_REF',
  ref: 'v3.99.2023122611'
}

Node.js v18.17.0

@zhetengbiji
Copy link
Collaborator

在 HBuilderX 目录下执行 npx patch-hbuilderx-plugins 失败

$ npx patch-hbuilderx-plugins
Need to install the following packages:
  patch-hbuilderx-plugins@1.0.5
Ok to proceed? (y) y
? HBuilderX Path C:\Program Files\HBuilderX
HBuilderX Version: 3.99.2023122611
C:\Users\thisky\AppData\Local\npm-cache\_npx\ab8e574058bea07e\node_modules\degit\dist\index-688c5d50.js:14258
                        throw new DegitError(`could not find commit hash for ${repo.ref}`, {
                              ^

DegitError: could not find commit hash for v3.99.2023122611
    at Degit._cloneWithTar (C:\Users\thisky\AppData\Local\npm-cache\_npx\ab8e574058bea07e\node_modules\degit\dist\index-688c5d50.js:14258:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Degit.clone (C:\Users\thisky\AppData\Local\npm-cache\_npx\ab8e574058bea07e\node_modules\degit\dist\index-688c5d50.js:14096:4)
    at async patch (C:\Users\thisky\AppData\Local\npm-cache\_npx\ab8e574058bea07e\node_modules\patch-hbuilderx-plugins\scripts\patch.js:43:3) {
  code: 'MISSING_REF',
  ref: 'v3.99.2023122611'
}

Node.js v18.17.0

确实未发布过针对 3.99 的 patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants