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

'sqlite-to-erd@*' is not in this registry. #4

Open
almereyda opened this issue Nov 12, 2023 · 1 comment
Open

'sqlite-to-erd@*' is not in this registry. #4

almereyda opened this issue Nov 12, 2023 · 1 comment

Comments

@almereyda
Copy link

Trying to run the sqlite-to-erd component through npx currently fails:

$ npx sqlite-to-erd data.db > erd.txt
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/sqlite-to-erd - Not found
npm ERR! 404 
npm ERR! 404  'sqlite-to-erd@*' is not in this registry.
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in: /home/yala/.npm/_logs/2023-11-12T21_20_27_018Z-debug-0.log

Any ideas what might be wrong? The README says it's available on NPX, why I'm asking.

@almereyda
Copy link
Author

It is possible to work around this with manually building the dist folder, and running from there, such as with:

ghq get https://github.com/beenotung/quick-erd.git
cd ~/src/github.com/beenotung/quick-erd/
pnpm install
pnpm run build

It is then possible to invoke

node ~/src/github.com/beenotung/quick-erd/dist/cli/sqlite-to-erd.js data.db > erd.txt

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

1 participant