I have installed the stripe npm module, it shows up under backend/node_modules.
I try to import in on my page with the following code:
import stripe from 'stripe';
This causes my page to crash upon loading. onready does not run. No error messages are generated.
If I comment out the import statement, everything starts working again.
I assume I am doing the right thing since I am following the documentation.