prisma-docs-generator icon indicating copy to clipboard operation
prisma-docs-generator copied to clipboard

hosting is not working [bug]

Open dankolesnikov opened this issue 2 years ago • 4 comments

  • successfully installed and generated doc After running npx prisma-docs-generator serve getting the following:
env: node\r: No such file or directory

After running node node_modules/prisma-docs-generator getting empty return, no printout - seems like its hanging. Nothing is at http://localhost:5858/.

dankolesnikov avatar Oct 29 '21 00:10 dankolesnikov

https://www.darraghoriordan.com/2021/05/18/env-node-r-no-such-file-or-directory/ https://github.com/docsifyjs/docsify-cli/issues/78

@pantharshit00 did you use windows when building the package?

dankolesnikov avatar Oct 29 '21 00:10 dankolesnikov

I ran find . -type f | xargs dos2unix in the dist directory to fix this.

raarts avatar Dec 06 '21 21:12 raarts

I can republish this package with my Mac.

This will eventually need a proper CI setup.

pantharshit00 avatar Dec 08 '21 10:12 pantharshit00

Having the same issue in a WSL2 ubuntu 22 console

edit --

I ran find . -type f | xargs dos2unix in the dist directory to fix this.

worked for me, thanks

Markkos89 avatar Jul 14 '22 00:07 Markkos89

This should be addressed in the latest release.

pantharshit00 avatar Feb 16 '23 13:02 pantharshit00