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 while building email app #963

Closed
9i5BCrUcNX5NmT opened this issue Jan 18, 2024 · 7 comments
Closed

Error while building email app #963

9i5BCrUcNX5NmT opened this issue Jan 18, 2024 · 7 comments

Comments

@9i5BCrUcNX5NmT
Copy link
Contributor

9i5BCrUcNX5NmT commented Jan 18, 2024

While build email app i got an error.

File

"https://github.com/freenet/freenet-core/blob/main/apps/freenet-email-app/Makefile"

section

"publish-webapp"

command

"fdev publish --code build/freenet/freenet_email_app_web contract --state build/freenet/contract-state"

error

"
2024-01-18T21:59:39.608391Z ERROR fdev::commands: Missing export initiate_buffer
2024-01-18T21:59:39.608465Z ERROR stretto::cache::sync: fail to handle clear event: fail to receive msg from channel: fail to receive msg from insert buffer: receiving on an empty and disconnected channel
2024-01-18T21:59:39.608475Z ERROR stretto::cache::sync: fail to handle insert event: fail to receive msg from channel: fail to receive msg from insert buffer: receiving on an empty and disconnected channel
Error: Missing export initiate_buffer
"
image

How can I fix it?

@gogo2464
Copy link
Contributor

I got this issue a moment ago.

Could you do freenet --version and could you also print your build logs please?

@9i5BCrUcNX5NmT
Copy link
Contributor Author

9i5BCrUcNX5NmT commented Jan 21, 2024

log.txt

image

"freenet --version" not working, but it must be 0.0.6
I compiled it on the same day (3 days ago) using "cargo install freenet"

@gogo2464
Copy link
Contributor

ah yes sorry I see the issue

@gogo2464
Copy link
Contributor

I got the same issue some month ago. You did not build freenet with contract rust feature.

try cargo build --features contract

@gogo2464
Copy link
Contributor

@9i5BCrUcNX5NmT ahh ok I understand! You should compile freenet from source instead of using cargo.

@9i5BCrUcNX5NmT
Copy link
Contributor Author

The build is successful after recompile from source.
Thank you.

@gogo2464
Copy link
Contributor

very good!!!! you are welcome.

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

2 participants