Error when use aws-amplify with react
Budget: $10 – $30 USD
I got this errors when i run NPM START
Can't resolve 'http2' in '/Users/alex/Documents/starter-project/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/node-http-handler/dist-cjs'
not found: Error: Can't resolve 'child_process' in '/Users/alex/Documents/starter-project/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-process/dist-cjs'
Module not found: Error: Can't resolve 'http2' in '/Users/alex/Documents/starter-project/node_modules/@aws-sdk/client-location/node_modules/@aws-sdk/node-http-handler/dist-cjs'
Can't resolve 'http2' in '/Users/alex/Documents/starter-project/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/node-http-handler/dist-cjs'
not found: Error: Can't resolve 'child_process' in '/Users/alex/Documents/starter-project/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-process/dist-cjs'
Module not found: Error: Can't resolve 'http2' in '/Users/alex/Documents/starter-project/node_modules/@aws-sdk/client-location/node_modules/@aws-sdk/node-http-handler/dist-cjs'