Firestore データベースへデータを読み込む のレビュー
32299 件のレビュー
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
Giannoulis Vasilis · 2ヶ月前にレビュー済み
Muppidathi Sivashankar · 2ヶ月前にレビュー済み
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.
Mansoori Kamrudddin · 2ヶ月前にレビュー済み
Novak Jeremy · 2ヶ月前にレビュー済み
Held Christian · 2ヶ月前にレビュー済み
Ghodake Shreyash · 2ヶ月前にレビュー済み
there is no error with the code , just depreciate the csv parse to 4.x.x
Sundhararaman Aravind Subramanian · 2ヶ月前にレビュー済み
const parse = promisify(require('csv-parse').parse); to resole this error : node:internal/validators:455 throw new ERR_INVALID_ARG_TYPE(name, 'Function', value);
garni imad · 2ヶ月前にレビュー済み
Sundhararaman Aravind Subramanian · 2ヶ月前にレビュー済み
garni imad · 2ヶ月前にレビュー済み
Pisani Guglielmo · 2ヶ月前にレビュー済み
khaddar Milan · 2ヶ月前にレビュー済み
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)>
Gupta Rajiv · 2ヶ月前にレビュー済み
Gupta Rajiv · 2ヶ月前にレビュー済み
M Gunavathi · 2ヶ月前にレビュー済み
Interesting work! Please update the code, because there is an error in the importTestData.js file
Laskevych Andrii · 2ヶ月前にレビュー済み
buggy, but found solution in comments
Malichenko Oleh · 2ヶ月前にレビュー済み
Pinilla Páez Jhon Edison · 2ヶ月前にレビュー済み
Bhowate Yogesh · 2ヶ月前にレビュー済み
csv_parser's code is bad, i had to fix it with gpt
Gallik Zoltán · 2ヶ月前にレビュー済み
Skytenko Roman · 2ヶ月前にレビュー済み
Bhowate Yogesh · 2ヶ月前にレビュー済み
홍 석현 · 2ヶ月前にレビュー済み
Yendhe Rajashree · 2ヶ月前にレビュー済み
student_00_9ba199f8bfa8@cloudshell:~/pet-theory/lab01 (qwiklabs-gcp-03-92fcfb056e04)$ node importTestData customers_1000.csv 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_9ba199f8bfa8/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' } Node.js v20.11.0
219ra Ka · 2ヶ月前にレビュー済み
公開されたレビューが、製品を購入または使用した人によるものであることは保証されません。Google はこれらのレビューの検証を行っていません。