package.json was missing the "main"