Nuxify / ipfs-uploader

An IPFS upload script using Moralis
MIT License
0 stars 3 forks source link

Build Error #2

Closed sherkitty closed 2 years ago

sherkitty commented 2 years ago

Retrieved Key From Moralis: (example) X-API-Key: 8pD4wAiFw3xklwkNudqUD8plTNRLNHqlVsUnCeCYjMY0REUIPOmJXxXxxXXxxXxX' \ (example)

Copy & Modified .env

sudo nano .env

MORALIS_API_KEY=8pD4wAiFw3xklwkNudqUD8plTNRLNHqlVsUnCeCYjMY0REUIPOmJXxXxxXXxxXxX

kali@kali:~/Desktop/ipfs-uploader$ sudo make mkdir -p bin go build -race -o bin/ipfs-uploader \ main.go ./bin/ipfs-uploader 2021/12/03 07:39:05 Error loading .env file make: *** [Makefile:32: run] Error 1

sherkitty commented 2 years ago

I have delete the .env file. I then opened the terminal and recreated the .env file using nano. It is running now