berachain / polaris

Polaris is a modular implementation of the Ethereum Virtual Machine (EVM). It can be easily integrated into any consensus engine or application, including the Cosmos-SDK.
https://polaris.berachain.dev/
Other
1.08k stars 356 forks source link

go run magefiles/setup/setup.go says no such directory #1460

Open Rai097 opened 8 months ago

Rai097 commented 8 months ago

Dont' see a folder for magefiles anywhere.

Rajivol commented 8 months ago

Same issue on my end.

BuytheDYP commented 8 months ago

same

HelloLee63 commented 8 months ago

same

Saadswrld commented 8 months ago

same

GordonTse0922 commented 8 months ago

+1

shihao92 commented 8 months ago

+1

nftaurelius commented 8 months ago

same

mrhandsome007 commented 8 months ago

Tried this last night and there is no magefiles anywhere

MaaBoec commented 8 months ago

Yes, I have the same issue

d4much commented 8 months ago

+1

OhDandy commented 8 months ago

Same issue, it's been 3 hours I am trying to solve this, I almost punched my PC. Please do something

jacobclark192 commented 8 months ago

once you get to this step dont use the go run command. You can use make start

besparkle88 commented 8 months ago

same

holdlijun commented 8 months ago

same

jacobclark192 commented 8 months ago

****SOLVED SOLVED SOLVED SOLVED****

Follow the README, not the berachain dev docs, they are out of date. you don't need magefiles, they are using the make command now

jacobclark192 commented 8 months ago

But I executed it according to the README: make test-unit and an exception was returned:

make[1]: Entering directory '/root/polaris' Installing ginkgo... Running forge test... make[1]: forge: Command not found make[1]: [build/scripts/main.mk:191: forge-test] Error 127 make[1]: Leaving directory '/root/polaris' make: [build/scripts/main.mk:169: test-unit] Error 2

you probably need to restart your bash and run foundryup to install foundry

holdlijun commented 8 months ago

但我按照 README: make test-unit 执行它并返回了异常: make[1]: 进入目录 '/root/polaris' 正在安装 ginkgo... 运行 forge 测试... make[1]: forge: 未找到命令 make[1]: [build/scripts/main.mk :191: forge-test] 错误 127 make[1]: 离开目录 '/root/polaris' make: [build/scripts/main.mk:169: test-unit] 错误 2

您可能需要重新启动 bash 并运行Foundryup 来安装Foundry

internal/modules/cjs/loader.js:638 throw err; ^ How to run Foundryup? I just executed again: make test-unit and it returned an exception: Error: Cannot find module 'test' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)

Sorry, this is my first time...I really want to run this node successfully~
mrhandsome007 commented 8 months ago

SOLVED SOLVED SOLVED SOLVED

Follow the README, not the berachain dev docs, they are out of date. you don't need magefiles, they are using the make command now

Can you link the read me you are using?

holdlijun commented 8 months ago

SOLVED SOLVED SOLVED SOLVED Follow the README, not the berachain dev docs, they are out of date. you don't need magefiles, they are using the make command now

Can you link the read me you are using?

image is ok?

BuytheDYP commented 8 months ago

wheres the README file, is it the one that says make test?

mrhandsome007 commented 8 months ago

wheres the README file, is it the one that says make test?

This?

jacobclark192 commented 8 months ago

wheres the README file, is it the one that says make test?

ngmi

if you can't answer this then you are probably in far over your head

mrhandsome007 commented 8 months ago

wheres the README file, is it the one that says make test?

ngmi

if you can't answer this then you are probably in far over your head

Instead of answering you need to write back a smart reply? Be helpful and post the link if you have the knowledge and were successful instead of being a troll

BuytheDYP commented 8 months ago

wheres the README file, is it the one that says make test?

ngmi

if you can't answer this then you are probably in far over your head

Very helpful, im sure you always knew how to run nodes. Wonder how people learn with helpful solutions like yours

BuytheDYP commented 8 months ago

wheres the README file, is it the one that says make test?

ngmi if you can't answer this then you are probably in far over your head

Instead of answering you need to write back a smart reply? Be helpful and post the link if you have the knowledge and were successful instead of being a troll

Its full of them, i just move on and carry on learning it. Knocking someone for trying to learn tells everything of his character

nftaurelius commented 8 months ago

wheres the README file, is it the one that says make test?

ngmi if you can't answer this then you are probably in far over your head

Instead of answering you need to write back a smart reply? Be helpful and post the link if you have the knowledge and were successful instead of being a troll

Its full of them, i just move on and carry on learning it. Knocking someone for trying to learn tells everything of his character

you can find the README file here https://github.com/berachain/polaris/blob/main/README.md just go through the whole sequence again from the beginning

BuytheDYP commented 8 months ago

wheres the README file, is it the one that says make test?

ngmi if you can't answer this then you are probably in far over your head

Instead of answering you need to write back a smart reply? Be helpful and post the link if you have the knowledge and were successful instead of being a troll

Its full of them, i just move on and carry on learning it. Knocking someone for trying to learn tells everything of his character

you can find the README file here https://github.com/berachain/polaris/blob/main/README.md just go through the whole sequence again from the beginning

Hi thank you for replying and helping. This is the one I followed but I receive an error back when i get to 'make test-unit. The error comes back as something like 'does not recognise make function' or similar so i am confused what to do next. All code up to that point appears to run smoothly?

mrhandsome007 commented 8 months ago

I’m getting this error:

reading go.work: /root/polaris/go.work:1 invalid go version 1.21.6 must match format 1.23

BuytheDYP commented 8 months ago

The team in discord said there’s no node yetOn 31 Jan 2024, at 00:14, mrhandsome007 @.***> wrote: I’m getting this error: reading go.work: /root/polaris/go.work:1 invalid go version 1.21.6 must match format 1.23

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

mefisto-sudo commented 7 months ago

The team in discord said there’s no node yetOn 31 Jan 2024, at 00:14, mrhandsome007 @.> wrote: I’m getting this error: reading go.work: /root/polaris/go.work:1 invalid go version 1.21.6 must match format 1.23 —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.>

open for example go.work and check go version - u need go version same as in go.work