Importing Data to a Firestore Database Ulasan
32291 ulasan
Ilan R. · Diulas 2 bulan 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 2 bulan lalu
Vlad M. · Diulas 2 bulan lalu
csv-parse version 5.x.x doesn't work with promisify
Michael W. · Diulas 2 bulan lalu
주현 (Harry) 정. · Diulas 2 bulan lalu
Kamrudddin M. · Diulas 2 bulan lalu
주현 (Harry) 정. · Diulas 2 bulan 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 2 bulan lalu
NAGESHWARI A. · Diulas 2 bulan lalu
Yaroslav G. · Diulas 2 bulan 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 2 bulan lalu
vishal k. · Diulas 2 bulan lalu
vishal k. · Diulas 2 bulan lalu
vishal k. · Diulas 2 bulan 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 2 bulan lalu
Quentin H. · Diulas 2 bulan lalu
Not possible to finish. At Task 4. Import the test customer data, run into following error: TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function. Received an instance of Object
Wang Y. · Diulas 2 bulan lalu
NAGESHWARI A. · Diulas 2 bulan lalu
its confuse the lab
Jose Antonio M. · Diulas 2 bulan lalu
Dont appear the list of regions acording indications the lab and cant continue
Jose Antonio M. · Diulas 2 bulan lalu
there is problem when importing test data: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_4da05ad21eed/pet-theory/lab01/importTestData.js:2:15) 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' }
Anatoliy S. · Diulas 2 bulan lalu
Rubini M. · Diulas 2 bulan lalu
Moris M. · Diulas 2 bulan lalu
Jose Antonio M. · Diulas 2 bulan lalu
Yohan Sebastian P. · Diulas 3 bulan lalu
Kami tidak dapat memastikan bahwa ulasan yang dipublikasikan berasal dari konsumen yang telah membeli atau menggunakan produk terkait. Ulasan tidak diverifikasi oleh Google.