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

cant install the chat analytics package #117

Closed
Tom28281 opened this issue Aug 13, 2024 · 3 comments
Closed

cant install the chat analytics package #117

Tom28281 opened this issue Aug 13, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Tom28281
Copy link

Whenever I try to use this via cmd, it tells me it needs to install chat-analytics@1.1.1. I type y but nothing happens
here is my most recent attempt:

Microsoft Windows [Version 10.0.22631.3880]
(c) Microsoft Corporation. All rights reserved.

C:\Windows\System32>npx chat-analytics
Need to install the following packages:
chat-analytics@1.1.1
Ok to proceed? (y) y

C:\Windows\System32>npx chat-analytics --version
Need to install the following packages:
chat-analytics@1.1.1
Ok to proceed? (y) y

C:\Windows\System32>

@mlomb
Copy link
Owner

mlomb commented Aug 13, 2024

Hey!
I have been able to reproduce the issue (also with older versions), I will look into it!

@Tom28281
Copy link
Author

thank you!

@mlomb
Copy link
Owner

mlomb commented Aug 14, 2024

Hey! The issue should be resolved now. It is working on my machine. Can you try now?

PS C:\Users\Lombi> npx chat-analytics --help
Need to install the following packages:
chat-analytics@1.1.2
Ok to proceed? (y) y

Usage: chat-analytics -p <platform> -i <input files>

Options:
      --help      Show help                                            [boolean]
      --version   Show version number                                  [boolean]
  -p, --platform  The platform to generate for
   [string] [required] [choices: "discord", "messenger", "telegram", "whatsapp"]
  -i, --inputs    The input file(s) to use (glob)             [array] [required]
  -o, --output    The output HTML filename     [string] [default: "report.html"]
      --demo      Mark the report as a demo           [boolean] [default: false]

For more information visit: https://github.com/mlomb/chat-analytics
Or use the app online: https://chatanalytics.app

The problem was related to a dependency: whatsapp-chat-parser. You can find the issue here: Pustur/whatsapp-chat-parser#256.
Thanks to @Pustur for the fast fix :)

@mlomb mlomb closed this as completed Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants