-
-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
node-copy-paste
breaks on android (termux)
#3837
Comments
Confirmed with |
How do we use |
Not sure, I can investigate when I get some time. |
Our new |
https://github.com/xavi-/node-copy-paste/issues/61 will it affect CRA users? |
cc @tabrindle |
A possible solution is to pin the |
If it's causing problems, it's an easy fix to remove the module upstream in envinfo. |
For now I'll cut a patch to |
OK, 1.5.1 of the CLI is out and should pin the version. I'll keep this open so somebody can offer a better upstream solution (?) |
- copy-paste uses a module sync-exec for older versions of node which has a known vulnerability - clipboardy also supports Android (Termux). Issue reported in CRA - facebook/create-react-app#3837
Sorry about this guys. Seems like there are two problems here - the vulnerability and the incompatibility with Termux - both are fixed by using a different module for envinfo's --clipboard option. Doesn't look like node-copy-paste is very active, and sync-exec isn't getting fixed. Clipboardy has no known vulnerabilities, advertises compatibility with Termux, and works with node 4. @brysgo I have pushed a new version of envinfo@3.11.0. Can you confirm that @gaearon As soon as we confirm this works, I'll make a PR to update the version of envinfo to 3.11.0. |
No worries, thanks for jumping on it. |
@tabrindle - Here is the output of the above command, doesn't blow up: |
Fix up in #3859 |
When trying to create a new CRA project on android,
node-copy-paste
causes a crash because of a platform check.The text was updated successfully, but these errors were encountered: