Open v3lip opened 2 years ago
Sorry to bug you v3lip but does your index,js file have all the code in it mine seems to be short at 97 lines long
@RobJay67 All the lines? All the lines that should be there, are there. What exactly is your issue?
In the video when he is done with config.js and opens index.js I only have 96 lines of code and he scrolls down to 260 to make a vital code change. When I look at the index.js on Github I also only see 96 lines of code... where am I going wrong to not generate the rest of the code?
In the video when he is done with config.js and opens index.js I only have 96 lines of code and he scrolls down to 260 to make a vital code change. When I look at the index.js on Github I also only see 96 lines of code... where am I going wrong to not generate the rest of the code?
We're not generating any code, we're downloading it, and you get it as it should be. This code is probably more updated and optimized than what is was previously at the point pf the video. Just go through the files and look for different calls or functions and what not. Im sure you'll figure it out. :)
Have the same issue - did you were able to resolve it?
The script works well only for 10 images 500 kbytes each. When I try to generate more, I get an error from the server that the limits have been exceeded. Max buffer size from server message is: maxBodyLength: 10485760, My buffer size is 'Content-Length': 53120297 for 100 images.
Error [ERR_FR_MAX_BODY_LENGTH_EXCEEDED]: Request body larger than maxBodyLength limit
at RedirectableRequest.write (C:\moralis-mutants-nft-engine-main\node_modules\follow-redirects\index.js:102:24)
at RedirectableRequest.end (C:\moralis-mutants-nft-engine-main\node_modules\follow-redirects\index.js:127:10)
at dispatchHttpRequest (C:\moralis-mutants-nft-engine-main\node_modules\axios\lib\adapters\http.js:360:11)
at new Promise (
Early in 2021, I see that the buffer size from the server was maxContentLength: -1 This turns out to be a server limitation? How to remove this restriction I need to upload 10,000 thousand small pictures.
Can you edit your scrip to upload chunks maxBodyLength: 10000000 ?
Have you found a way to correct this error message Error [ERR_FR_MAX_BODY_LENGTH_EXCEEDED]: Request body larger than maxBodyLength limit ?