Set Up an App Dev Environment on Google Cloud: Challenge Lab avis
343539 avis
Uri M. · Examiné il y a presque 2 ans
Charles N. · Examiné il y a presque 2 ans
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. · Examiné il y a presque 2 ans
good hard learning
SAHASRA K. · Examiné il y a presque 2 ans
Ashvani S. · Examiné il y a presque 2 ans
Pulkit S. · Examiné il y a presque 2 ans
Nitesh J. · Examiné il y a presque 2 ans
Michael R. · Examiné il y a presque 2 ans
Piyush J. · Examiné il y a presque 2 ans
KRISHNA R. · Examiné il y a presque 2 ans
Marius-Daniel G. · Examiné il y a presque 2 ans
Gilberto R. · Examiné il y a presque 2 ans
Raul C. · Examiné il y a presque 2 ans
Adityaraj G. · Examiné il y a presque 2 ans
Jose Armin M. · Examiné il y a presque 2 ans
Arjun H. · Examiné il y a presque 2 ans
Mohammed A. · Examiné il y a presque 2 ans
Md Sajeel A. · Examiné il y a presque 2 ans
Ajay J. · Examiné il y a presque 2 ans
dinesh g. · Examiné il y a presque 2 ans
Fernando M. · Examiné il y a presque 2 ans
Anumon V. · Examiné il y a presque 2 ans
alpha m. · Examiné il y a presque 2 ans
Anumon V. · Examiné il y a presque 2 ans
E-14 Vaishnavi B. · Examiné il y a presque 2 ans
Nous ne pouvons pas certifier que les avis publiés proviennent de consommateurs qui ont acheté ou utilisé les produits. Les avis ne sont pas vérifiés par Google.