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.

Support running using npx

See original GitHub issue

It should not be required to save as a dev dependency.

This should work: npx react-native-bundle-visualizer

But it gives: /Users/me/.npm/_npx/83500/bin/react-native-bundle-visualizer: line 9: ./node_modules/.bin/haul: No such file or directory

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
IjzerenHeincommented, Aug 12, 2019

As of version 2.0.3 (pre-release) it is now possible to run this module using npx. Version 2 will be released shortly. You can already test it using npx react-native-bundle-visualizer@next.

1reaction
IjzerenHeincommented, Oct 1, 2019

V2 has been released as the new official version and npx is now the preferred method to run this package. Thanks for the suggestion 👍 Closing this now, cheers

Read more comments on GitHub >

github_iconTop Results From Across the Web

npx - npm Docs
This command allows you to run an arbitrary command from an npm package (either one installed locally, or fetched remotely), in a similar...
Read more >
An introduction to npx, the npm package runner - Medium
In this article, we'll talk about npx (package runner) — what it is, why we need it, and the use cases where the...
Read more >
[FEATURE] Support running npx in a specified directory (like ...
Currently it can be done in npm with npm --prefix path/to/dir run install . Expected Behavior. It could run the same as npm...
Read more >
npx | Dev Cheatsheets - Michael Currin
Run an ad hoc command for experimenting with arguments. In Vue, you'll typicall have vue-cli-service installed directly and access it through npm run...
Read more >
npm vs npx — What's the Difference? - freeCodeCamp
Run a locally installed package easily · Execute packages that are not previously installed · Run code directly from GitHub · Test different ......
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