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

Anchor compiles without errors when there clearly are. #3406

Open
sflomm opened this issue Dec 4, 2024 · 4 comments
Open

Anchor compiles without errors when there clearly are. #3406

sflomm opened this issue Dec 4, 2024 · 4 comments

Comments

@sflomm
Copy link

sflomm commented Dec 4, 2024

Hello i am quite new to solana development and i am currently following the Solana Bootcamp https://www.youtube.com/watch?v=amAq-WHAFs8&t=5800s
In the solana bootcamp the nightly compiler successfully identifies errors when running anchor build, however when i compile with the same command it compiles successfully everytime and gives no errors (even though there clearly are errors).

@sflomm
Copy link
Author

sflomm commented Dec 4, 2024

To clarify im not getting errors like these when compiling:
image

@sflomm
Copy link
Author

sflomm commented Dec 4, 2024

I use VSCode on WSL,
I run anchor cli 0.30.1
AVM 0.30.1
rustc 1.83.0 (90b35a623 2024-11-26)
rustup 1.27.1 (54dd3d00f 2024-04-24)
solana-cli 2.0.17 via Agave

@sflomm
Copy link
Author

sflomm commented Dec 4, 2024

This is what npx solana-create-dapp created (using tailwind and next.js):
image

@acheroncrypto
Copy link
Collaborator

You shared a lot of information but missed the most important one, which is the exact part of the code you're having problems with. The repository that the video is about might have been updated, so you might not have the exact same code.

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

No branches or pull requests

2 participants