You'd want to ensure that you are correctly setting the emulator 
environment variables with $(gcloud beta emulators datastore env-init) 
after starting it according to the docs 
<https://cloud.google.com/datastore/docs/tools/datastore-emulator>, however 
even when I do that the bookshelf sample app crashes for me after writing 
one entity. It looks like the sample app doesn't work with the emulator at 
this time (note that nowhere in the tutorial does it actually mention that 
it does).

The tutorial itself is in need of an update in any case, as you see from the 
list of open issues 
<https://github.com/GoogleCloudPlatform/nodejs-getting-started/issues>on 
its GitHub page. I also needed to manually update the dependencies to get npm 
install to even work.

On Friday, February 24, 2017 at 9:44:32 AM UTC-5, Alexey Gromov wrote:
>
> Hi,
>
> I'm new in the GCP. Now I'm trying to setup my local dev env using Google 
> tutorials.
> I've got a problem with Datastore example 
> "/nodejs-getting-started/2-structured-data". It doesn't work both 
> with/without Datastore Emulator.
> Does anybody know anything about this:
>
>
> <https://lh3.googleusercontent.com/-GhRfSJKoRWc/WLBC5sy0uvI/AAAAAAAAFyE/Pbs1p9ArujQABSKYInR8uugnvP65KWT0wCLcB/s1600/2017-02-24%2B15_25_32-grom%2540GROM-HOME-PC_%2B_mnt_e_work_GromWorks_nodejs-getting-started_2-structured-dat.png>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f65a414b-1024-4f70-be5f-649c924668ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to