Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error result from command at 32.30 of video (first ipfs upload) "error:TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined" #5

Closed
hlairboltons opened this issue Dec 22, 2021 · 11 comments

Comments

@hlairboltons
Copy link

hlairboltons commented Dec 22, 2021

I am using 10 webp files with 10 valid JSON. Some files are successfully updated to ipfs and can be viewed in browser, but others dont unless I redo the command a dozen times. I also have 10,000 images i want to upload so this is probably not viable. Log attached, thanks :)

PS C:\Users\blair\OneDrive\Documents\Komodo_Joe\NFTPortUpload\video-source-code-create-nft-collection-main> node utils/nftport/uploadFiles.js
error:TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
error:TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Rerror:TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
error:TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
error:TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
error:TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
1.webp uploaded & 1.json updated!
2.webp uploaded & 2.json updated!
6.webp uploaded & 6.json updated!
8.webp uploaded & 8.json updated!
PS C:\Users\blair\OneDrive\Documents\Komodo_Joe\NFTPortUpload\video-source-code-create-nft-collection-main> node utils/nftport/uploadFiles.js
error:TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
error:TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Rerror:TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
error:TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
error:TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
error:TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
8.webp uploaded & 8.json updated!
2.webp uploaded & 2.json updated!
1.webp uploaded & 1.json updated!
4.webp uploaded & 4.json updated!
PS C:\Users\blair\OneDrive\Documents\Komodo_Joe\NFTPortUpload\video-source-code-create-nft-collection-main> node utils/nftport/uploadFiles.js
error:TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
error:TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
error:TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
error:TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
error:TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
error:TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
5.webp uploaded & 5.json updated!
8.webp uploaded & 8.json updated!
7.webp uploaded & 7.json updated!
2.webp uploaded & 2.json updated!
PS C:\Users\blair\OneDrive\Documents\Komodo_Joe\NFTPortUpload\video-source-code-create-nft-collection-main>

@sonuaa
Copy link

sonuaa commented Dec 26, 2021

same problem for me

@badxwolfyz
Copy link

any fix ?

@comancosmin
Copy link

I have the same issue!

I have 20 images and all the time when i run the command i have only 2 or 3 files uploaded.
PS C:\Users\Cosmin\Desktop\hashlips_art_engine-1.1.1_update> node utils/nftport/uploadFiles.js Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined 1.png uploaded & 1.json updated! 16.png uploaded & 16.json updated!

@afrikaxtract
Copy link

Same problem here - I wonder if this is because you need to have a paid nftport account and therefore you are limited. hope theres a fix. using a macbook pro M1

@econcepcion
Copy link

Anyone figure this out?

error:TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined

Thanks

@hendrikegn
Copy link

Hello! I'm having the same issue for all 100 files I'm trying to upload. Thank you very much for your support ! happy and safe holidays !

@comancosmin
Copy link

Problem fixed on me! Download last version!

@hendrikegn
Copy link

Hello, last version of what exactly? thanks!

@comancosmin
Copy link

From here: https://github.com/codeSTACKr/video-source-code-create-nft-collection

Press on Code -> Download ZIP file and then copy the src and utils folders to your own.
Config your files again: config.js, uploadFiles.js, uploadMetas.js and mint.js

@hendrikegn
Copy link

Yes! is working now! Thank you!

@codeSTACKr
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants