Set Up an App Dev Environment on Google Cloud: Challenge Lab Reviews

340371 reviews

Uri M. · Reviewed almost 2 years ago

Charles N. · Reviewed almost 2 years ago

feedback from claude: Ah yes, I see the issue now. The error is occurring because the code is using an outdated syntax for the PubSub client. The `.publisher()` method is no longer available in newer versions of the @google-cloud/pubsub library. Here's the fix for that specific part of the code: ```javascript // Old code: pubsub .topic(topicName) .publisher() .publish(Buffer.from(newFilename)) // Should be: pubsub .topic(topicName) .publish(Buffer.from(newFilename)) ``` The `.publisher()` method was removed in favor of directly calling `.publish()` on the topic. This is the only change needed to fix the error. The rest of the code is working fine as you mentioned. The code needs to be updated for the JS function

Aleksandar J. · Reviewed almost 2 years ago

good hard learning

SAHASRA K. · Reviewed almost 2 years ago

Ashvani S. · Reviewed almost 2 years ago

Pulkit S. · Reviewed almost 2 years ago

Nitesh J. · Reviewed almost 2 years ago

Michael R. · Reviewed almost 2 years ago

Piyush J. · Reviewed almost 2 years ago

KRISHNA R. · Reviewed almost 2 years ago

Marius-Daniel G. · Reviewed almost 2 years ago

Gilberto R. · Reviewed almost 2 years ago

Raul C. · Reviewed almost 2 years ago

Adityaraj G. · Reviewed almost 2 years ago

Jose Armin M. · Reviewed almost 2 years ago

Arjun H. · Reviewed almost 2 years ago

Mohammed A. · Reviewed almost 2 years ago

Md Sajeel A. · Reviewed almost 2 years ago

Ajay J. · Reviewed almost 2 years ago

dinesh g. · Reviewed almost 2 years ago

Fernando M. · Reviewed almost 2 years ago

Anumon V. · Reviewed almost 2 years ago

alpha m. · Reviewed almost 2 years ago

Anumon V. · Reviewed almost 2 years ago

E-14 Vaishnavi B. · Reviewed almost 2 years ago

We do not ensure the published reviews originate from consumers who have purchased or used the products. Reviews are not verified by Google.