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

你的应用版本过低,请升级至最新版本后再登录。点击“确定”后将跳转至 最新版下载页面,依赖都是最新版的这个怎么解决呢 #2702

Closed
hedibin opened this issue May 16, 2024 · 2 comments

Comments

@hedibin
Copy link

hedibin commented May 16, 2024

Important:Please file the issue follow the template, or we won't be able to help you to solve the problem.

0. Report Issue Guide

  1. Please run the following command and check whether the problem has been fixed:

    rm -rf package-lock.json
    rm -rf node_modules
    npm install
  2. Please search in FAQ List first, and make sure your problem has not been solved before.

  3. Please search in the issue first, and make sure your problem had not been reported before

1. Versions

What is your wechaty version?

Answer:

Which puppet are you using for wechaty? (puppeteer/padlocal/service...)

Answer:

What is your wechaty-puppet-XXX(padchat/puppeteer/) version?

Answer:

What is your node version? (run node --version)

Answer:

What os are you using

Answer:

2. Describe the bug

Give a clear and concise description of what the bug is.

3. To Reproduce

This part is very important: if you can not provide any reproduce steps, then the problem will be very hard to be recognized.

How to create a Minimal, Reproducible Example

Steps to reproduce the behavior:

  1. run '...'
  2. ...
  3. ...

4. Expected behavior

Give a clear and concise description of what you expected to happen.

5. Actual behavior

If applicable, add screenshots to help explain your problem. But the log message must be in plain text instead of screenshot.

6. Full Output Logs

Set env WECHATY_LOG=silly in order to set log level to silly, then we can get the full log (If you dosen't set log env, log level is info as default, we cannot get the full log)

We need full log instead of log screenshot or log fragments!

Show Logs
$ WECHATY_LOG=silly node yourbot.js

-> Make sure to copy/paste the full (instead of only fragments) log message in text format (instead of image/screenshot) at here

7. Additional context

Add any other context about the problem here.

Copy link

dosubot bot commented May 16, 2024

To resolve the "app version too low" error, it's essential to ensure your Wechaty SDK is updated to the latest version. Here's a step-by-step guide to help you through the process:

  1. Update Wechaty: Run npm install wechaty@latest in your terminal to update Wechaty to the latest version.

  2. Verify the Update: After updating, you can check your Wechaty version to ensure the update was successful. Use the following code snippet:

    const { WechatyBuilder } = require('wechaty')
    const bot = WechatyBuilder.build()
    console.log(bot.version())
  3. Review Change Logs: If the issue persists, review the CHANGELOG.md for any changes that might affect compatibility or error handling.

  4. Set Specific Version as Latest: If necessary, use the scripts/npm-set-latest.sh script from the Wechaty repository to manually set a specific version of your application as the latest on npm. This requires bash and appropriate permissions on npm.

  5. Provide Detailed Information for Further Assistance: If the problem is not resolved, please provide:

    • Your Wechaty version.
    • The puppet and its version you're using.
    • Your Node.js version.
    • Your operating system.
    • Steps that led to the issue.

This detailed information will help in diagnosing and addressing the issue more effectively.

Details

Sources


About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

To continue the conversation, mention @dosu.

@huan huan closed this as completed May 20, 2024
@huan
Copy link
Member

huan commented May 20, 2024

Close this issue due to not following the template: no detail information was provided.

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