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.

"shx cp" does not finish on Unix-Systems

See original GitHub issue

The following command is part of my “postinstall”-routine in package.json:

shx cp node_modules/react/dist/react.min.js node_modules/react-dom/dist/react-dom.min.js node_modules/three/build/three.min.js app/static/

With v0.1.4 everything is working fine, but after updating my dependencies (shx v0.2.0) npm install would not finish on travis or my buddies OSX; while i had no trouble running the script on windows.


Edit: package.json and other stuff can be found here

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
nfischercommented, Nov 18, 2016

@bhousel #98 should fix this. Feel free to leave comments on it if you see any issues, otherwise I’ll release it tonight as a patch

1reaction
bhouselcommented, Nov 30, 2016

Feel free to leave comments on it if you see any issues, otherwise I’ll release it tonight as a patch

Thanks for the quick fix! I can confirm 0.2.1 is working great 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

shx | Yarn - Package Manager
shx is a wrapper around ShellJS Unix commands, providing an easy solution for simple Unix-like, cross-platform commands in npm package scripts.
Read more >
Copying a file with cp is stuck (copying with Dolphin doesn't ...
I had a problem with copying files from my hard drive to an USB stick with the Dolphin file-manager in Debian11/KDE. Some were...
Read more >
delete and copy files using shx in package.json - Stack Overflow
The main issue exists in this part: shx find ../server-project/public -type f -delete. The -type f flag is not supported in shx (see...
Read more >
cp - Copy a file - IBM
If -F is used when copying from UNIX to UNIX, cp sets only the target file format and does not replace the end-of-line...
Read more >
[Chapter 18] 18.15 Copying Directory Trees with cp -r
NOTE: One of our UNIX systems has a cp without a -r option. But it also has an rcp ( 1.33 ) command...
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