node.js - Update Stripe module at Parse Cloud Code -


turns out stripe module @ parse code out of date , won't updated.

source:

https://developers.facebook.com/bugs/523104684492016/

parse modules using old version of api , there no plan update in near future.

as workaround please download newer sdks directly off third party site, place in "cloud/" folder , import using require();

we're going close design.

i have downloaded stripe module via terminal command

npm install stripe 

i'm trying import module when deploy parse, seems of modules missing. errors this:

update failed error: module child_process.js not found @ node_modules/stripe/lib/stripe.js:24:12

hope can point me out on how add third party modules parse cloud code properly. thanks.

seems parse's module support limited , adding submodules impossible or complex bother, that's why decided move heroku. answers!


Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -