Como importar dados para um banco de dados do Firestore avaliações

52031 avaliações

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. · Revisado há about 2 years

Oleksandr H. · Revisado há about 2 years

great

Mahmoud R. · Revisado há about 2 years

Prameela K. · Revisado há about 2 years

Sivashankar M. · Revisado há about 2 years

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. · Revisado há about 2 years

Sivashankar M. · Revisado há about 2 years

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. · Revisado há about 2 years

Jeremy N. · Revisado há about 2 years

Christian H. · Revisado há about 2 years

Shreyash G. · Revisado há about 2 years

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

Aravind Subramanian S. · Revisado há about 2 years

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. · Revisado há about 2 years

Aravind Subramanian S. · Revisado há about 2 years

imad g. · Revisado há about 2 years

Guglielmo P. · Revisado há about 2 years

Milan k. · Revisado há about 2 years

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. · Revisado há about 2 years

Rajiv G. · Revisado há about 2 years

Gunavathi M. · Revisado há about 2 years

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

Andrii L. · Revisado há about 2 years

buggy, but found solution in comments

Oleh M. · Revisado há about 2 years

Jhon Edison P. · Revisado há about 2 years

Yogesh B. · Revisado há about 2 years

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

Zoltán G. · Revisado há about 2 years

Não garantimos que as avaliações publicadas sejam de consumidores que compraram ou usaram os produtos. As avaliações não são verificadas pelo Google.