heavysixer / node-pptx

Generate PPTX files on the server-side with JavaScript.
MIT License
161 stars 44 forks source link

Installation Errors #39

Closed taurn2edsense closed 5 years ago

taurn2edsense commented 5 years ago

I got this error while installing it.

Error: Can't find Python executable "python", you can set the PYTHON env variable.

.. I tried few things like i tried to set python env variables but no use.

Please suggest a fix. error

heavysixer commented 5 years ago

This is not our package unfortunately. The node-pptx npm package is someone else's implementation.

heavysixer commented 5 years ago

I've updated the readme to point to the correct package: npm i nodejs-pptx

Sorry for the confusion!

vcheeze commented 5 years ago

I think the new npm i nodejs-pptx is now installing correctly. Currently, I only see index.js, the license file, package.json, and readme.md after I run the install, so the node's cjs loader is throwing the error './lib/pptx' not found when I require('nodejs-pptx'). Can you please check and resolve this? By the way, this is an awesome module. Thanks @heavysixer :)

textminer commented 5 years ago

Hi @vcheeze, I have the same issue. How did you solve it? since this issue is closed, I guess there's a solution.

Thanks

gregdolley commented 4 years ago

I think the new npm i nodejs-pptx is now installing correctly. Currently, I only see index.js, the license file, package.json, and readme.md after I run the install, so the node's cjs loader is throwing the error './lib/pptx' not found when I require('nodejs-pptx'). Can you please check and resolve this? By the way, this is an awesome module. Thanks @heavysixer :)

Hi @vcheeze, I have the same issue. How did you solve it? since this issue is closed, I guess there's a solution.

Thanks

@vcheeze @textminer - This issue has since been fixed. Please try pulling the latest and running "npm install" again. You should get all the files this time.