Importing Data to a Firestore Database Rezensionen
32489 Rezensionen
Vlad M. · Vor 3 Monate überprüft
csv-parse version 5.x.x doesn't work with promisify
Michael W. · Vor 3 Monate überprüft
주현 (Harry) 정. · Vor 3 Monate überprüft
Kamrudddin M. · Vor 3 Monate überprüft
주현 (Harry) 정. · Vor 3 Monate überprüft
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. · Vor 3 Monate überprüft
NAGESHWARI A. · Vor 3 Monate überprüft
Yaroslav G. · Vor 3 Monate überprüft
`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. · Vor 3 Monate überprüft
vishal k. · Vor 3 Monate überprüft
vishal k. · Vor 3 Monate überprüft
vishal k. · Vor 3 Monate überprüft
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. · Vor 3 Monate überprüft
Quentin H. · Vor 3 Monate überprüft
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. · Vor 3 Monate überprüft
NAGESHWARI A. · Vor 3 Monate überprüft
its confuse the lab
Jose Antonio M. · Vor 3 Monate überprüft
Dont appear the list of regions acording indications the lab and cant continue
Jose Antonio M. · Vor 3 Monate überprüft
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. · Vor 3 Monate überprüft
Rubini M. · Vor 3 Monate überprüft
Moris M. · Vor 3 Monate überprüft
Jose Antonio M. · Vor 3 Monate überprüft
Yohan Sebastian P. · Vor 3 Monate überprüft
Ralf B. · Vor 3 Monate überprüft
Douglas F. · Vor 3 Monate überprüft
Wir können nicht garantieren, dass die veröffentlichten Rezensionen von Verbrauchern stammen, die die Produkte gekauft oder genutzt haben. Die Rezensionen werden von Google nicht überprüft.