Skip to content
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

npm packages not installing #1

Open
miracsengonul opened this issue Aug 23, 2024 · 4 comments
Open

npm packages not installing #1

miracsengonul opened this issue Aug 23, 2024 · 4 comments

Comments

@miracsengonul
Copy link

npm packages not installing

@alamshafil
Copy link
Owner

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
Copy link
Author

miracsengonul commented Aug 24, 2024

npm install auto-shorts

Ekran Resmi 2024-08-24 19 00 25

@m4xyyyyy
Copy link

m4xyyyyy commented Sep 4, 2024

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

@alamshafil
Copy link
Owner

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:

  • OS Info and version (Windows 10/11, macOS, Linux, etc.)
  • Node.js version and npm version (can be found via node -v and npm -v respectively)
  • Full output of npm install (I know this is long, but I need the full log to find the root issue)

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants