masa-finance / user-support

Tracking and triaging of client issues across all Masa products
0 stars 0 forks source link

[Problem]: Masa protocol first installation problem #1

Closed HangryDev closed 3 weeks ago

HangryDev commented 1 month ago

Environment

Local: windows OS, binary installation

Masa Component

Protocol

Version

0.8.4

What happened?

  1. Problem with GNU make. Every 'make' command comes with this error message. It still works, like node still gets started when I do 'make run' for example
process_begin: CreateProcess(NULL, which goreleaser, ...) failed.
Makefile:7: pipe: Bad file descriptor

It's not masa problem but perhaps you have some insight, would appreciate it

  1. this error happened when 'make faucet'
...
time="2024-10-24T22:17:31+09:00" level=info msg="[+] Loaded private key from C:\Users\HK\.masa\masa_oracle_key"
time="2024-10-24T22:17:31+09:00" level=info msg="[+] Saved ECDSA private key to C:\Users\HK\.masa\masa_oracle_key.ecdsa"
time="2024-10-24T22:17:31+09:00" level=error msg="[-] Failed to create staking client:[-] Failed to load contract addresses: open node_modules\@masa-finance\masa-token\addresses.json: file does not exist"
time="2024-10-24T22:17:31+09:00" level=error msg="[-] [-] Failed to load contract addresses: open node_modules\@masa-finance\masa-token\addresses.json: file does not exist"
make: *** [Makefile:39: faucet] Error 1

Steps to reproduce

  1. Follow steps on Masa protocol installation guide (binary)
  2. Follow steps on Node Staking Guide

Relevant log output

PS C:\Users\HK\Desktop\dev\DPS\masa-oracle> make faucet
process_begin: CreateProcess(NULL, which goreleaser, ...) failed.
Makefile:7: pipe: Bad file descriptor
./bin/masa-node --faucet
time="2024-10-24T22:20:26+09:00" level=warning msg="USER_AGENTS environment variable is not set. Using default user agent."
time="2024-10-24T22:20:26+09:00" level=debug msg="Log level set to Debug"
time="2024-10-24T22:20:26+09:00" level=info msg="Version: v0.8.4"
time="2024-10-24T22:20:26+09:00" level=info msg="PortNbr: 4001"
time="2024-10-24T22:20:26+09:00" level=info msg="UDP: true"
time="2024-10-24T22:20:26+09:00" level=info msg="TCP: false"
time="2024-10-24T22:20:26+09:00" level=info msg="Bootnodes: []"
time="2024-10-24T22:20:26+09:00" level=info msg="Data: "
time="2024-10-24T22:20:26+09:00" level=info msg="StakeAmount: "
time="2024-10-24T22:20:26+09:00" level=info msg="Debug: false"
time="2024-10-24T22:20:26+09:00" level=info msg="Environment: test"
time="2024-10-24T22:20:26+09:00" level=info msg="MasaDir: C:\\Users\\HK\\.masa"
time="2024-10-24T22:20:26+09:00" level=info msg="RpcUrl: https://ethereum-sepolia.publicnode.com"
time="2024-10-24T22:20:26+09:00" level=info msg="AllowedPeer: true"
time="2024-10-24T22:20:26+09:00" level=info msg="AllowedPeerId: "
time="2024-10-24T22:20:26+09:00" level=info msg="AllowedPeerPublicKey: "
time="2024-10-24T22:20:26+09:00" level=info msg="LogLevel: info"
time="2024-10-24T22:20:26+09:00" level=info msg="LogFilePath: masa_node.log"
time="2024-10-24T22:20:26+09:00" level=info msg="FilePath: ."
time="2024-10-24T22:20:26+09:00" level=info msg="Validator: false"
time="2024-10-24T22:20:26+09:00" level=info msg="CachePath: "
time="2024-10-24T22:20:26+09:00" level=info msg="Faucet: true"
time="2024-10-24T22:20:26+09:00" level=info msg="TwitterCookiesPath: "
time="2024-10-24T22:20:26+09:00" level=info msg="TwitterUsername: "
time="2024-10-24T22:20:26+09:00" level=info msg="TwitterPassword: "
time="2024-10-24T22:20:26+09:00" level=info msg="Twitter2FaCode: "
time="2024-10-24T22:20:26+09:00" level=info msg="DiscordBotToken: "
time="2024-10-24T22:20:26+09:00" level=info msg="ClaudeApiKey: "
time="2024-10-24T22:20:26+09:00" level=info msg="ClaudeApiURL: "
time="2024-10-24T22:20:26+09:00" level=info msg="ClaudeApiVersion: "
time="2024-10-24T22:20:26+09:00" level=info msg="GPTApiKey: "
time="2024-10-24T22:20:26+09:00" level=info msg="TwitterScraper: false"
time="2024-10-24T22:20:26+09:00" level=info msg="DiscordScraper: false"
time="2024-10-24T22:20:26+09:00" level=info msg="TelegramScraper: false"
time="2024-10-24T22:20:26+09:00" level=info msg="WebScraper: false"
time="2024-10-24T22:20:26+09:00" level=info msg="LlmServer: false"
time="2024-10-24T22:20:26+09:00" level=info msg="LLMChatUrl: "
time="2024-10-24T22:20:26+09:00" level=info msg="LLMCfUrl: "
time="2024-10-24T22:20:26+09:00" level=info msg="APIEnabled: true"
time="2024-10-24T22:20:26+09:00" level=info msg="TelegramStop: <nil>"
time="2024-10-24T22:20:26+09:00" level=info msg="[+] Loaded private key from C:\\Users\\HK\\.masa\\masa_oracle_key"
time="2024-10-24T22:20:26+09:00" level=info msg="[+] Saved ECDSA private key to C:\\Users\\HK\\.masa\\masa_oracle_key.ecdsa"
time="2024-10-24T22:20:26+09:00" level=error msg="[-] Failed to create staking client:[-] Failed to load contract addresses: open node_modules\\@masa-finance\\masa-token\\addresses.json: file does not exist"
time="2024-10-24T22:20:26+09:00" level=error msg="[-] [-] Failed to load contract addresses: open node_modules\\@masa-finance\\masa-token\\addresses.json: file does not exist"
make: *** [Makefile:39: faucet] Error 1
message.txt
4KB

Additional context

No response

Code of Conduct

lacyg4 commented 3 weeks ago

Working to resolve in TG

HangryDev commented 3 weeks ago

I sense that downgrading GNU make from v4.4 to v4.3 helps this problem, in case someone encounters similar issue. I chose to reinstall OS to linux(ubuntu) to solve this problem. (It would be helpful to mention in the documentation you need WSL or something equivalent, for windows binary installatoin)
Consider this issue resolved for me.