Problems with stripe payments

Working locally with Docker this does not work, however when put to a live server like Digital Ocean it works, does any one have any idea how to get this to work locally?

I have followed the tutorial for processing strip payment

However I keep getting the following error

“Cannot find module ‘stripe’\nRequire stack:\n- /opt/node_app/lib/modules/stripe.js\n- /opt/node_app/lib/core/app.js\n- /opt/node_app/lib/core/middleware.js\n- /opt/node_app/lib/setup/routes.js\n- /opt/node_app/lib/server.js\n- /opt/node_app/index.js”

Does anyone have any idea what I am missing?

Community Page
Last updated: