question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Using vl2png (and etc bin tools) via npx

See original GitHub issue
C:\Sandbox\Nodetest>npx vl2png --help
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/vl2png - Not found
npm ERR! 404
npm ERR! 404  'vl2png@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

Is vl2png et al meant to be recognised by npx as valid aliases? The VL docs suggest they should be.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
domoritzcommented, Oct 20, 2020

Thanks for reporting the issue. There was definitely a lack of documentation. https://github.com/vega/vega-lite/pull/6984 will address the lack.

0reactions
sterlingpetersencommented, Nov 16, 2020

This seems to work. Thanks!

npx -p vega-cli -p vega-lite vl2pdf ~/Desktop/simpleBarChart.vl.json > ~/Desktop/simpleBarChart.pdf
Read more comments on GitHub >

github_iconTop Results From Across the Web

Introducing npx: an npm package runner | by Kat Marchán
npx is a tool intended to help round out the experience of using packages from the npm registry — the same way npm...
Read more >
Where does NPX store binaries after installation?
It's my understanding that npx will first look in the local node_modules/.bin diectory and then the /usr/local/bin directory, ...
Read more >
npm vs npx — What's the Difference? - freeCodeCamp
It provides a way for developers to install packages both globally and locally. Sometimes you might want to take a look at a...
Read more >
How to Create an NPX Tool - Shahed Nasser
In this tutorial, you'll learn how you can create your own NPX tool and publish it.
Read more >
vega-lite: Versions - Openbase
docs: add ecosystem section for tools that scale Vega-Lite #7946 (@jonmmease) ... in bin docs #8124 (@kanitw vega-actions-bot@users.noreply.github.com).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found