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

npm run run not working #80

Open
rinshadka opened this issue Apr 12, 2022 · 1 comment
Open

npm run run not working #80

rinshadka opened this issue Apr 12, 2022 · 1 comment

Comments

@rinshadka
Copy link

Hi,
While I start the service using npm run run, the service is not accessible at port 3000.

But when I start using npm run dev , the service is accessible at port 3000.

Below URL not working

❯ npm run run

> docsql@0.7.1 run
> node cli/index.mjs

5 plugins found.
4,661 files found in /path/to/md/files.
Analyzing ████████████████████████████████████████ 100% | 4661/4661
> Ready on http://localhost:3000

Below URL is working

❯ npm run dev

> docsql@0.7.1 dev
> npm run analyze && next dev


> docsql@0.7.1 analyze
> npm run run -- --analyze-only


> docsql@0.7.1 run
> node cli/index.mjs "--analyze-only"

5 plugins found.
4,661 files found in /path/to/md/files.
Analyzing ████████████████████████████████████████ 100% | 4661/4661
Created /opt/docsql-devl-medigy-com/docsql/out/docs.json
ready - started server on 0.0.0.0:3000, url: http://localhost:3000

Thanks.

@peterbe
Copy link
Owner

peterbe commented Apr 18, 2022

Works for me. I run npm run run and then open a browser at http://localhost:3000/ fine. What errors are you getting?

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