Comments (6)
- Does this prevent envinfo from printing the info?
- Is there an alternative to using native binaries for clipboard support on node/windows?
from envinfo.
- Yes
- Older versions of clipboardy used a non-native way of doing this, so pinning an older version might be one approach. They switched because of issues with large amounts of data in clipboard, but that isn't such concern here.
from envinfo.
- Crap.
- Awesome.
Would you be willing to PR/test that version change?
from envinfo.
The old version of clipboardy has bad Unicode support, not sure if that's an issue for this particular dependency.
The real fix would probably be to publish a non-webpacked version and include a dependency on clipboardy. Might not be appropriate for some of the ways this library is being distributed though.
from envinfo.
envinfo is most useful when used via npx - and webpack enables a much smaller footprint and shorter download time. In my benchmarks before publishing it, it reduced type from initial command to report by several seconds.
An alternate solution might be to use npx to call clipboardy - especially since it's not always used, and only a problem on windows.
from envinfo.
Working on moving the dependency to npx to be installed correctly without being in the main envinfo bundle.
from envinfo.
Related Issues (20)
- add curl support
- add openssl version
- add Deno support
- Wrong Version of Windows HOT 2
- Improve detecting Android Studio installation on Linux HOT 1
- WMIC is deprecated in the latest Windows 11 builds HOT 2
- feat: add pnpm option in Binaries HOT 4
- Add heading level to markdown option
- Android NDK not detected in side-by-side installation style HOT 1
- Proposal: include binary architecture when available
- Firefox is not detected HOT 9
- Always waiting for the return result HOT 1
- Unable to filter npmGlobalPackages on Windows HOT 1
- Support yarn pnp
- Support yarn envinfo plugin configuration format
- npx envinfo never finishes, no output, no error HOT 4
- Add Ccache to utilities
- can't get the browser information
- [Windows][7.9.0] npx envinfo@latests fails on Powershell
- Unexpected non-whitespace character after JSON at position 3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from envinfo.