docsql icon indicating copy to clipboard operation
docsql copied to clipboard

npm run run not working

Open rinshadka opened this issue 3 years ago • 1 comments

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

> [email protected] 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

> [email protected] dev
> npm run analyze && next dev


> [email protected] analyze
> npm run run -- --analyze-only


> [email protected] 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.

rinshadka avatar Apr 12 '22 08:04 rinshadka

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

peterbe avatar Apr 18 '22 16:04 peterbe