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

package.json not recognized in NPX #105

Closed
unicodeixixixi opened this issue Feb 16, 2024 · 2 comments
Closed

package.json not recognized in NPX #105

unicodeixixixi opened this issue Feb 16, 2024 · 2 comments

Comments

@unicodeixixixi
Copy link

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.

@unicodeixixixi unicodeixixixi changed the title cli not recognized as an app in NPX package.json not recognized in NPX Feb 16, 2024
@livingflore
Copy link

  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
Copy link
Author

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

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