Support running using npx
See original GitHub issueIt 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:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

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 usingnpx react-native-bundle-visualizer@next.V2 has been released as the new official version and
npxis now the preferred method to run this package. Thanks for the suggestion 👍 Closing this now, cheers