Adding socket.io client as package - App crashes

Hey guys,
I’m trying to add this js file as own package to my Meteor application. When I add the package, my whole app crashes on client side:

Uncaught TypeError: Cannot read property 'push' of undefined
15e6087….js?meteor_js_resource=true:134 Uncaught TypeError: Cannot read property 'ServiceConfiguration' of undefined
15e6087….js?meteor_js_resource=true:5 Exception from Tracker recompute function: undefined
15e6087….js?meteor_js_resource=true:5 TypeError: Cannot read property 'getName' of undefined
    at l (http://localhost:3000/15e6087f31453bae8ca4eaad48cffaf30e5ed23d.js?meteor_js_resource=true:186:3712)
    at http://localhost:3000/15e6087f31453bae8ca4eaad48cffaf30e5ed23d.js?meteor_js_resource=true:186:3767
    at t.Computation._compute (http://localhost:3000/15e6087f31453bae8ca4eaad48cffaf30e5ed23d.js?meteor_js_resource=true:7:2376)
    at t.Computation._recompute (http://localhost:3000/15e6087f31453bae8ca4eaad48cffaf30e5ed23d.js?meteor_js_resource=true:7:2603)
    at Object.t._runFlush (http://localhost:3000/15e6087f31453bae8ca4eaad48cffaf30e5ed23d.js?meteor_js_resource=true:7:3566)
    at e (http://localhost:3000/15e6087f31453bae8ca4eaad48cffaf30e5ed23d.js?meteor_js_resource=true:5:2037) undefined
15e6087….js?meteor_js_resource=true:5 Exception from Tracker recompute function: undefined
15e6087….js?meteor_js_resource=true:5 TypeError: Cannot read property 'getName' of undefined
    at l (http://localhost:3000/15e6087f31453bae8ca4eaad48cffaf30e5ed23d.js?meteor_js_resource=true:186:3712)
    at http://localhost:3000/15e6087f31453bae8ca4eaad48cffaf30e5ed23d.js?meteor_js_resource=true:186:3856
    at t.Computation._compute (http://localhost:3000/15e6087f31453bae8ca4eaad48cffaf30e5ed23d.js?meteor_js_resource=true:7:2376)
    at t.Computation._recompute (http://localhost:3000/15e6087f31453bae8ca4eaad48cffaf30e5ed23d.js?meteor_js_resource=true:7:2603)
    at Object.t._runFlush (http://localhost:3000/15e6087f31453bae8ca4eaad48cffaf30e5ed23d.js?meteor_js_resource=true:7:3566)
    at e (http://localhost:3000/15e6087f31453bae8ca4eaad48cffaf30e5ed23d.js?meteor_js_resource=true:5:2037) undefined

Uncaught ReferenceError: Tracker is not defined

Any idea what’s going wrong?

//Edit solved - just needed to set io as export.