Mengimpor Data ke Database Firestore Ulasan

52031 ulasan

Pratyusha D. · Diulas sekitar 2 tahun lalu

Oh this lab took more than 4 attempts to finish.

Sarma P. · Diulas sekitar 2 tahun lalu

Pratyusha D. · Diulas sekitar 2 tahun lalu

vishal k. · Diulas sekitar 2 tahun lalu

node:internal/validators:455 throw new ERR_INVALID_ARG_TYPE(name, 'Function', value); ^ TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function. Received an instance of Object at promisify (node:internal/util:410:3) at Object.<anonymous> (/home/student_01_2cc2c6e044b2/pet-theory/lab01/importTestData.js:2:21) at Module._compile (node:internal/modules/cjs/loader:1376:14) at Module._extensions..js (node:internal/modules/cjs/loader:1435:10) at Module.load (node:internal/modules/cjs/loader:1207:32) at Module._load (node:internal/modules/cjs/loader:1023:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) at node:internal/main/run_main_module:28:49 { code: 'ERR_INVALID_ARG_TYPE' }

Nitesh G. · Diulas sekitar 2 tahun lalu

vishal k. · Diulas sekitar 2 tahun lalu

Stefano B. · Diulas sekitar 2 tahun lalu

Stefano B. · Diulas sekitar 2 tahun lalu

TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function. Received an instance of Object at promisify (node:internal/util:410:3) at Object.<anonymous> (/home/student_02_58eb6803f681/pet-theory/lab01/importTestData.js:2:21) at Module._compile (node:internal/modules/cjs/loader:1376:14) at Module._extensions..js (node:internal/modules/cjs/loader:1435:10) at Module.load (node:internal/modules/cjs/loader:1207:32) at Module._load (node:internal/modules/cjs/loader:1023:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) at node:internal/main/run_main_module:28:49 { code: 'ERR_INVALID_ARG_TYPE' }

Rishi S. · Diulas sekitar 2 tahun lalu

gARBAGE laB

Stephen O. · Diulas sekitar 2 tahun lalu

Dmytro K. · Diulas sekitar 2 tahun lalu

node errors node:internal/validators:455 throw new ERR_INVALID_ARG_TYPE(name, 'Function', value); ^ TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function. Received an instance of Object at promisify (node:internal/util:410:3) at Object.<anonymous> (/home/student_03_edca2945f506/pet-theory/lab01/importTestData.js:2:21)

Kamrudddin M. · Diulas sekitar 2 tahun lalu

Iliyass H. · Diulas sekitar 2 tahun lalu

Ilan R. · Diulas sekitar 2 tahun lalu

Doesn't work, throws error: node:internal/validators:455 throw new ERR_INVALID_ARG_TYPE(name, 'Function', value); ^ TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function. Received an instance of Object at promisify (node:internal/util:410:3) at Object.<anonymous> (/home/student_00_038a51488cab/pet-theory/lab01/solution/importTestData.js:3:21) at Module._compile (node:internal/modules/cjs/loader:1376:14) at Module._extensions..js (node:internal/modules/cjs/loader:1435:10) at Module.load (node:internal/modules/cjs/loader:1207:32) at Module._load (node:internal/modules/cjs/loader:1023:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) at node:internal/main/run_main_module:28:49 { code: 'ERR_INVALID_ARG_TYPE' } Node.js v20.11.0

Artur K. · Diulas sekitar 2 tahun lalu

Vlad M. · Diulas sekitar 2 tahun lalu

csv-parse version 5.x.x doesn't work with promisify

Michael W. · Diulas sekitar 2 tahun lalu

주현 (Harry) 정. · Diulas sekitar 2 tahun lalu

Kamrudddin M. · Diulas sekitar 2 tahun lalu

주현 (Harry) 정. · Diulas sekitar 2 tahun lalu

Need to update the version of csv-parse lib in the git repo as the code does not work out of the box with the latest version. I realise you have the version in the example package.json in the lab, but I dare say most people run this with the package.json version that comes from the repo.

Rob F. · Diulas sekitar 2 tahun lalu

NAGESHWARI A. · Diulas sekitar 2 tahun lalu

Yaroslav G. · Diulas sekitar 2 tahun lalu

`csv-parse` doesn't work out of the box with the code as-written. Had to change the import to the following before the import would work: `const parse = promisify(require('csv-parse').parse);`

Max W. · Diulas sekitar 2 tahun lalu

vishal k. · Diulas sekitar 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.