npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

garbled when using the copySync method of fs-extra

When using the copySync method of fs-extra, some js, css, and html files in the copied folder appear garbled. I hope everyone can help analyze the reason.Thanks.


Since fs-extra isn’t part of npm, as far as I know, I’m moving this to #community:javascript. Also, please follow the template when making a #bugs post in the future.


I have not seen this problem before.

You might get help here, or another place you could ask is the issues page for fs-extra: https://github.com/jprichardson/node-fs-extra/issues