Uh oh!
There was an error while loading. Please reload this page.
This repository was archived by the owner on Dec 16, 2025. It is now read-only.
This repository was archived by the owner on Dec 16, 2025. It is now read-only.
There was an error while loading. Please reload this page.
// AS-IS
In file book.js
var dataset = gcloud.datastore.dataset();
// TO BE
This is the corrected code -
var datastore = gcloud.datastore({
projectId: config.projectId,
keyFilename: config.keyFilename
});
The problem with this code is that datastore.dataset() is an invalid function and the entire dataset variable is not used in the code thereafter. probably got pasted from somewhere else ?