-
Notifications
You must be signed in to change notification settings - Fork 945
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Npx Create-video doesnt Work on Windows #46
Comments
I have the same error |
same here |
Looks like the problem is in the dotfiles.ts file . Not sure why the code search for a _gitignore with the underscore in front. If you replace for a dot it throw an error in the copy process. A workaround in windows is to install create-video as a dependency in any node project and then manually copy and install the dependencies of the _template folder.
Hope it helps. |
@eperedo can confirm that this workaround does work , thanks , i will experiment more on this today |
Sorry about that! I now have properly setup Windows on my computer and can test it in the future! Plus, in the next release, these issues will be resolved 🎉 |
Problem Description : When running npx create-video it exits with the following error code
npx create-video npx: installed 24 in 3.292s What's the name of your project? (my-video) my-video Error: Command failed with exit code 1: copy -r C:\Users\mahmo\AppData\Roaming\npm-cache_npx\11472\node_modules\create-video_template my-video
The system cannot find the file specified. at makeError (C:\Users\mahmo\AppData\Roaming\npm-cache_npx\11472\node_modules\create-video\node_modules\execa\lib\error.js:59:11)
at handlePromise (C:\Users\mahmo\AppData\Roaming\npm-cache_npx\11472\node_modules\create-video\node_modules\execa\index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5) at async C:\Users\mahmo\AppData\Roaming\npm-cache_npx\11472\node_modules\create-video\dist\init.js:43:5 { shortMessage: 'Command failed with exit code 1: copy -r C:\Users\mahmo\AppData\Roaming\npm-cache\_npx\11472\node_modules\create-video\_template my-video',
command: 'copy -r C:\Users\mahmo\AppData\Roaming\npm-cache\_npx\11472\node_modules\create-video\_template my-video',
exitCode: 1, signal: undefined, signalDescription: undefined, stdout: 'The system cannot find the file specified.', stderr: '', failed: true, timedOut: false, isCanceled: false, killed: false }
Other details:
npx envinfo npx: installed 1 in 3.561s System:
OS: Windows 10 10.0.18363
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 7.93 GB / 15.88 GB
Binaries:
Node: 14.15.0 - C:\Program Files\nodejs\node.EXE
npm: 6.14.8 - C:\Program Files\nodejs\npm.CMD
Managers:
pip3: 20.2.3 - C:\Python39\Scripts\pip3.EXE
Utilities:
Git: 2.29.2.
Virtualization:
Docker: 20.10.2 - C:\ProgramData\DockerDesktop\version-bin\docker.EXE
IDEs:
VSCode: 1.52.1 - C:\Users\mahmo\AppData\Local\Programs\Microsoft VS Code\bin\code.CMD
Languages:
Python: 3.9.0
The text was updated successfully, but these errors were encountered: