Grove - 3-Axis Digital Accelerometer(±1.5g) - Problem with Lesson 10 from Grove Beginner Kit

I recently purchased the Grove Beginner Kit for Arduino. I have successfully been through Lessons 1 to 9, and the components work well.
However, with Lesson 10:Sensing Movement, I am having issues. When I verify the code in the example, I get “I2C_MODE was not declared in this scope”
I followed the instructions and downloaded the 3-Axis Digital Accelerometer( ±2g to 16g) from Github and added the .ZIP library.
I am not sure if it’s a problem with the device or with the code.
If anyone has a solution to this please let me know