Import Data to a Firestore Database avis

52031 avis

Pratyusha D. · Examiné il y a environ 2 ans

Oh this lab took more than 4 attempts to finish.

Sarma P. · Examiné il y a environ 2 ans

Pratyusha D. · Examiné il y a environ 2 ans

vishal k. · Examiné il y a environ 2 ans

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. · Examiné il y a environ 2 ans

vishal k. · Examiné il y a environ 2 ans

Stefano B. · Examiné il y a environ 2 ans

Stefano B. · Examiné il y a environ 2 ans

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. · Examiné il y a environ 2 ans

gARBAGE laB

Stephen O. · Examiné il y a environ 2 ans

Dmytro K. · Examiné il y a environ 2 ans

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. · Examiné il y a environ 2 ans

Iliyass H. · Examiné il y a environ 2 ans

Ilan R. · Examiné il y a environ 2 ans

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. · Examiné il y a environ 2 ans

Vlad M. · Examiné il y a environ 2 ans

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

Michael W. · Examiné il y a environ 2 ans

주현 (Harry) 정. · Examiné il y a environ 2 ans

Kamrudddin M. · Examiné il y a environ 2 ans

주현 (Harry) 정. · Examiné il y a environ 2 ans

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. · Examiné il y a environ 2 ans

NAGESHWARI A. · Examiné il y a environ 2 ans

Yaroslav G. · Examiné il y a environ 2 ans

`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. · Examiné il y a environ 2 ans

vishal k. · Examiné il y a environ 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.