Menyiapkan Lingkungan Pengembangan Aplikasi di Google Cloud: Challenge Lab Ulasan
341763 ulasan
Manimaran P. · Diulas hampir 2 tahun lalu
stuck on task 3
Shelly D. · Diulas hampir 2 tahun lalu
Krishna A. · Diulas hampir 2 tahun lalu
ANGADI ANJALI .. · Diulas hampir 2 tahun lalu
Laura Jaqueline M. · Diulas hampir 2 tahun lalu
Marco Antonio C. · Diulas hampir 2 tahun lalu
super bien
Bastian F. · Diulas hampir 2 tahun lalu
Nickolay S. · Diulas hampir 2 tahun lalu
Manuel Q. · Diulas hampir 2 tahun lalu
Jing Y. · Diulas hampir 2 tahun lalu
Ilse Mariel R. · Diulas hampir 2 tahun lalu
Leonardo E. · Diulas hampir 2 tahun lalu
Sebastian M. · Diulas hampir 2 tahun lalu
Neeraj Kumar S. · Diulas hampir 2 tahun lalu
Miranda Mijangos A. · Diulas hampir 2 tahun lalu
Hammad R. · Diulas hampir 2 tahun lalu
MANLIO H. · Diulas hampir 2 tahun lalu
Marcio I. · Diulas hampir 2 tahun lalu
Narendrakumar C. · Diulas hampir 2 tahun lalu
Smooth
Kalvin O. · Diulas hampir 2 tahun lalu
Uri M. · Diulas hampir 2 tahun lalu
Charles N. · Diulas hampir 2 tahun lalu
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. · Diulas hampir 2 tahun lalu
good hard learning
SAHASRA K. · Diulas hampir 2 tahun lalu
Ashvani S. · Diulas hampir 2 tahun lalu
Kami tidak dapat memastikan bahwa ulasan yang dipublikasikan berasal dari konsumen yang telah membeli atau menggunakan produk terkait. Ulasan tidak diverifikasi oleh Google.