Are you entering that on the right side of the IDE? If you enter it on the left side, it won't be able to load the module. When you send code from the right, the IDE goes to the Espruino website, downloads the GPS module, and sends it to the Espruino, in addition to the code you're sending.
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.
Are you entering that on the right side of the IDE? If you enter it on the left side, it won't be able to load the module. When you send code from the right, the IDE goes to the Espruino website, downloads the GPS module, and sends it to the Espruino, in addition to the code you're sending.