Handle when there's no main in package.json