Added the error handling back
Added package.json