Daten in eine Firestore-Datenbank importieren Rezensionen
52031 Rezensionen
csv-parse import needs to be updated in description to work. const parse = promisify(require("csv-parse").parse); Perhaps a little short timeframe if one wants to be thorough and read through and understand what the code is doing as well. Other than that it was great to see how batching works and how simple it is to utilise the GCP APIs :)
Pontus G. · Vor etwa 2 Jahre überprüft
Oleksandr H. · Vor etwa 2 Jahre überprüft
great
Mahmoud R. · Vor etwa 2 Jahre überprüft
Prameela K. · Vor etwa 2 Jahre überprüft
Sivashankar M. · Vor etwa 2 Jahre überprüft
you need to edit the 2nd line in order for the import code to work const parse = promisify(require("csv-parse").parse); // Target the parse function
Vasilis G. · Vor etwa 2 Jahre überprüft
Sivashankar M. · Vor etwa 2 Jahre überprüft
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) Fix lab code. It's a waste of time. Just one import causing all this trouble.
Kamrudddin M. · Vor etwa 2 Jahre überprüft
Jeremy N. · Vor etwa 2 Jahre überprüft
Christian H. · Vor etwa 2 Jahre überprüft
Shreyash G. · Vor etwa 2 Jahre überprüft
there is no error with the code , just depreciate the csv parse to 4.x.x
Aravind Subramanian S. · Vor etwa 2 Jahre überprüft
const parse = promisify(require('csv-parse').parse); to resole this error : node:internal/validators:455 throw new ERR_INVALID_ARG_TYPE(name, 'Function', value);
imad g. · Vor etwa 2 Jahre überprüft
Aravind Subramanian S. · Vor etwa 2 Jahre überprüft
imad g. · Vor etwa 2 Jahre überprüft
Guglielmo P. · Vor etwa 2 Jahre überprüft
Milan k. · Vor etwa 2 Jahre überprüft
there is bug in ImportTestData file code so please replace below line <const parse = promisify(require('csv-parse'))> with <const parse = promisify(require('csv-parse').parse)>
Rajiv G. · Vor etwa 2 Jahre überprüft
Rajiv G. · Vor etwa 2 Jahre überprüft
Gunavathi M. · Vor etwa 2 Jahre überprüft
Interesting work! Please update the code, because there is an error in the importTestData.js file
Andrii L. · Vor etwa 2 Jahre überprüft
buggy, but found solution in comments
Oleh M. · Vor etwa 2 Jahre überprüft
Jhon Edison P. · Vor etwa 2 Jahre überprüft
Yogesh B. · Vor etwa 2 Jahre überprüft
csv_parser's code is bad, i had to fix it with gpt
Zoltán G. · Vor etwa 2 Jahre ü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.