0

[email protected] move-public mv ./dist/* ../server/public

'mv' is not recognized as an internal or external command, operable program or batch file.

I tried this "move-public": "move .\dist\* ..\server\public", but did not move the directories.

2
  • If you're looking for a cross-platform way to move files in npm scripts, consider using shx. github.com/shelljs/shx Commented Mar 5, 2024 at 19:37
  • You're trying to use the Unix mv command on Windows. Commented Mar 5, 2024 at 20:13

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.