Consider
const SDK = require(\'hyper-sdk\')
A lot of posts seems to say this should be converted to
import SDK from \'hyper-sd