works better with a valid package.json