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

Cannot build when Wechaty is taken as a dependency #2026

Closed
lhr0909 opened this issue Jul 25, 2020 · 2 comments · May be fixed by #2034
Closed

Cannot build when Wechaty is taken as a dependency #2026

lhr0909 opened this issue Jul 25, 2020 · 2 comments · May be fixed by #2034
Labels

Comments

@lhr0909
Copy link

lhr0909 commented Jul 25, 2020

Important:Please file the issue follow the template, or we won't 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
  1. Please search in FAQ List first, and make sure your problem has not been solved before.

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

1. Versions

  • What is your wechaty version?
    Answer: @latest and @next

  • Which puppet are you using for wechaty? (padchat/puppeteer/padpro/...)
    Answer: macpro

  • 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:

import wechaty into a TypeScript project and runs typescript build.

4. Expected behavior

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

TypeScript compile should succeed with no issues.

5. Actual behavior

If applicable, add screenshots to help explain your problem. But do not paste log screenshots here.

image

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

Question: Paste your FULL(DO NOT ONLY PROVIDE FRAGMENTS) log messages
Answer:

7. Additional context

Add any other context about the problem here.

[bug]

@huan
Copy link
Member

huan commented Jul 26, 2020

Have you tried the wechaty-getting-started repo? It should work without any problem.

Copy link

dosubot bot commented Nov 15, 2023

Hi, @lhr0909! I'm Dosu, and I'm helping the wechaty team manage their backlog. I wanted to let you know that we are marking this issue as stale.

From what I understand, you were experiencing issues when building with Wechaty as a dependency. The maintainer huan suggested trying the wechaty-getting-started repository as it should work without any problems.

Before we close this issue, we wanted to check with you if it is still relevant to the latest version of the wechaty repository. If it is, please let us know by commenting on this issue. Otherwise, feel free to close the issue yourself or it will be automatically closed in 7 days.

Thank you for your understanding and contribution to the Wechaty community!

@dosubot dosubot bot added the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Nov 15, 2023
@dosubot dosubot bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 22, 2023
@dosubot dosubot bot removed the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants