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.

Skip installs when using CLI?

See original GitHub issue

Every time I run npx @svgr/cli ... it always takes about 20-30 seconds to install various packages before processing a SVG > JS conversion.

Is this necessary or is there any way to avoid it if I already have the deps installed?

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
TrySoundcommented, Feb 6, 2020

Probably npx cache does not work. You can install @svgr/cli locally. npm run svgr should probably work.

0reactions
gregbergecommented, Apr 5, 2020

@AndrzejSala of course if you want to install it in your repository it is fine!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Global option to --skip-install for new projects · Issue #8684
Hence there is an option to skip install the npm packages by using ng new myProject --skip-install . Can we globally set an...
Read more >
command line - How to skip installing extra software during ...
1 Answer 1 · Navigate to %TEMP% and clean it out · Run the setup.exe interactively · Look in %TEMP% for GUID directories...
Read more >
Skip installation prompts during upgrade in terminal
1 Answer 1 · What if there is a configuration screen without a y/n answer? – djeikyb · If it's a fault the...
Read more >
Command line switches supported by Self-Extractor ...
Command-line switches supported by a software installation package, an update package, or a hotfix package created with Microsoft Self-Extractor.
Read more >
How do I ask apt-get to skip any interactive post-install ...
You can do a couple of things for avoiding this. Setting the DEBIAN_FRONTEND variable to noninteractive and using -y flag. For example:
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