It's not just that code that's running if you're getting that error.
As it says, it's to do with I2C. It happens when you're trying to access an I2C device that isn't connected. I guess somehow you have still got the other code running.
Are you sure that is all you're uploading?
If the MPU6050 is still connected then you'll need to check your I2C wiring as well - that could explain a lot.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
It's not just that code that's running if you're getting that error.
As it says, it's to do with I2C. It happens when you're trying to access an I2C device that isn't connected. I guess somehow you have still got the other code running.
Are you sure that is all you're uploading?
If the MPU6050 is still connected then you'll need to check your I2C wiring as well - that could explain a lot.