关于“Importing Data to a Firestore Database”的评价

关于“Importing Data to a Firestore Database”的评价

评论

Prameela K. · 评论2 months之前

Sivashankar M. · 评论2 months之前

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. · 评论2 months之前

Sivashankar M. · 评论2 months之前

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. · 评论2 months之前

Jeremy N. · 评论2 months之前

Christian H. · 评论2 months之前

Shreyash G. · 评论2 months之前

there is no error with the code , just depreciate the csv parse to 4.x.x

Aravind Subramanian S. · 评论2 months之前

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. · 评论2 months之前

Aravind Subramanian S. · 评论2 months之前

imad g. · 评论2 months之前

Guglielmo P. · 评论2 months之前

Milan k. · 评论2 months之前

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. · 评论2 months之前

Rajiv G. · 评论2 months之前

Gunavathi M. · 评论2 months之前

Interesting work! Please update the code, because there is an error in the importTestData.js file

Andrii L. · 评论2 months之前

buggy, but found solution in comments

Oleh M. · 评论2 months之前

Jhon Edison P. · 评论2 months之前

Yogesh B. · 评论2 months之前

csv_parser's code is bad, i had to fix it with gpt

Zoltán G. · 评论2 months之前

Roman S. · 评论2 months之前

Yogesh B. · 评论2 months之前

석현 홍. · 评论2 months之前

我们无法确保发布的评价来自已购买或已使用产品的消费者。评价未经 Google 核实。