'mv' is not recognized as an internal or external command #158
                  
                    
                      zeritonius
                    
                  
                
                  started this conversation in
                General
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to build petite-vue, using the official repository.
I ran:
When I execute "npm run build" (using Node v16.13.0, running on Windows 10), I receive the following error:
'mv' is not recognized as an internal or external command.
In the package.json file I saw this:
"build": "vite build && tsc --emitDeclarationOnly && mv dist/src dist/types",Is mv this package?
https://www.npmjs.com/package/mv
If yes, should I add it manually as a dependency to the package.json?
If I manually replace "mv" with "move" on this line:
"build": "vite build && tsc --emitDeclarationOnly && mv dist/src dist/types",it works fine, but I was wondering how to make it run in the form from the official repository.
I assume it works out of the box in Linux, as there is an actual command "mv" built in the OS.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions