alamshafil / auto-shorts

AutoShorts can generate short videos with the help of AI. It can generate popular types of video seen on YouTube Shorts and TikTok.
https://alamshafil.github.io/auto-shorts/
MIT License
90 stars 8 forks source link

npm packages not installing #1

Open miracsengonul opened 3 months ago

miracsengonul commented 3 months ago

npm packages not installing

alamshafil commented 3 months ago

Hello. Would be possible for you to post an output of what you see after installing the package? Seeing this output from the terminal will allow me to pinpoint what the issue is. Thanks.

miracsengonul commented 3 months ago

npm install auto-shorts

Ekran Resmi 2024-08-24 19 00 25
m4xyyyyy commented 2 months ago

installing visual studio with the c++ for desktop development package worked for me

alamshafil commented 2 months ago

Before I start, I would like to apologize for the late message. I have been working on a new version (tentatively v0.2.0) with solving your issue in mind. This NPM package relies on a native packages to render the videos. The native packages are canvas gl and whisper-node.

It is possible that npm failed to build the natives packages on your system. canvas and gl rely on Node.js nan API which means that the packages needs to built for each version if a built-in module is not included by the package. whsiper-node should not have any issues since it uses Node.js N-API which should not have ABI issues with different Node.js version unlike nan API.

Try updating your Node.js version to the latest version or latest LTS version and try running npm install in a fresh environment.

While I attempt to fix this issue with the new version, I would need more detailed information about your error. Can you send the following info:

Thank for you time and interest in this project. Once again I apologize for the late message.