Auth error:TypeError: URL is not a constructor

I followed this tutorial link
https://docs.particle.io/tutorials/integrations/google-cloud-platform/#storing-data-in-a-datastore-database

In the last topic, Storing Data in a Datastore Database, I have configured gcpProjectId, gcpPubSubSubscriptionName and gcpServiceAccountKeyFilePath and I got an error.

configuration


command prompt (run as adminitrator)

GCP pub/sub

Pump, looking for help!

Using search above I found this that it seems there is an error in the tut and the solution has been updated elsewhere

Please search before dumping a problem in the forum - its just good manners ?