heroku showing application error code h12 code example
Example: heroku h10 error aws
//change
import AWS from 'aws-sdk'
//into
const AWS = require('aws-sdk')
//This avoids memory problemes
//change
import AWS from 'aws-sdk'
//into
const AWS = require('aws-sdk')
//This avoids memory problemes