Hi all,
Having trouble getting set up. When importing anything from react-cognito into my project I'm getting a "Require is not defined" error. Here are the steps I've taken to install:
- Install react and react-dom 15.4.2
npm install --save-dev react-cognito
npm install --save-dev amazon-cognito-identity-js
Am I missing anything here? Have just followed the docs at:
https://doc.esdoc.org/github.com/isotoma/react-cognito/manual/installation/install.html