Importing Data to a Firestore Database Ulasan
32301 ulasan
Prameela K. · Diulas 2 bulan lalu
Sivashankar M. · Diulas 2 bulan lalu
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. · Diulas 2 bulan lalu
Sivashankar M. · Diulas 2 bulan 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) Fix lab code. It's a waste of time. Just one import causing all this trouble.
Kamrudddin M. · Diulas 2 bulan lalu
Jeremy N. · Diulas 2 bulan lalu
Christian H. · Diulas 2 bulan lalu
Shreyash G. · Diulas 2 bulan lalu
there is no error with the code , just depreciate the csv parse to 4.x.x
Aravind Subramanian S. · Diulas 2 bulan lalu
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. · Diulas 2 bulan lalu
Aravind Subramanian S. · Diulas 2 bulan lalu
imad g. · Diulas 2 bulan lalu
Guglielmo P. · Diulas 2 bulan lalu
Milan k. · Diulas 2 bulan lalu
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. · Diulas 2 bulan lalu
Rajiv G. · Diulas 2 bulan lalu
Gunavathi M. · Diulas 2 bulan lalu
Interesting work! Please update the code, because there is an error in the importTestData.js file
Andrii L. · Diulas 2 bulan lalu
buggy, but found solution in comments
Oleh M. · Diulas 2 bulan lalu
Jhon Edison P. · Diulas 2 bulan lalu
Yogesh B. · Diulas 2 bulan lalu
csv_parser's code is bad, i had to fix it with gpt
Zoltán G. · Diulas 2 bulan lalu
Roman S. · Diulas 2 bulan lalu
Yogesh B. · Diulas 2 bulan lalu
석현 홍. · Diulas 2 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.