mlomb / chat-analytics

Generate interactive, beautiful and insightful chat analysis reports
https://chatanalytics.app
GNU Affero General Public License v3.0
645 stars 48 forks source link

package.json not recognized in NPX #105

Closed unicodeixixixi closed 7 months ago

unicodeixixixi commented 7 months ago

Hi all! I'm having troubles running 1.1.1 of chat-analytics on Windows. This is the error im getting:

D:\chat-analytics-1.1.1\chat-analytics-1.1.1> npx chat-analytics
'chat-analytics' is not recognized as an internal or external command,
operable program or batch file.

I've tried looking on the internet but to no avail.

livingflore commented 7 months ago
  1. npm i
  2. npm run build:node
  3. npm run build:web
  4. in separate cmd npx webpack serve --open
  5. then you can use npx chat-analytics

(without webpack running, generating a report will give you an error with missing report.html file due to cli expecting it at dist-web for some reason and not dist where it's being generated)

unicodeixixixi commented 7 months ago

Thanks for the quick reply. I'll test it and if it works i'll close the issue.