Skip to content

Latest commit

 

History

History
89 lines (67 loc) · 1.77 KB

File metadata and controls

89 lines (67 loc) · 1.77 KB

🛠️ Aqua Stark - Troubleshooting Guide

This guide helps you resolve common issues when setting up and developing Aqua Stark locally.

📋 Quick Navigation

🔧 Setup Issues

Issue: "Command not found" errors

Symptoms: sozo: command not found, katana: command not found, etc.

Solutions:

  1. Check PATH configuration:
echo $PATH
which sozo
which katana
which torii
  1. Reinstall Dojo tools:
curl -L https://install.dojoengine.org | bash
export PATH="$HOME/.dojo/bin:$PATH"
  1. Add to shell profile (add to ~/.bashrc, ~/.zshrc, or ~/.profile):
export PATH="$HOME/.dojo/bin:$PATH"

Issue: pnpm install fails

Symptoms: Dependency installation errors, lockfile conflicts

Solutions:

  1. Clear cache and reinstall:
pnpm store prune
rm -rf node_modules
rm pnpm-lock.yaml
pnpm install --force
  1. Check Node.js version:
node --version  # Should be 20+
pnpm --version  # Should be 10.13.1+
  1. Update pnpm:
npm install -g pnpm@latest

Issue: Rust/Cairo installation problems

Symptoms: cargo: command not found, Scarb build failures

Solutions:

  1. Reinstall Rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source ~/.cargo/env
  1. Reinstall Scarb:
curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | sh
  1. Check versions:
rustc --version
cargo --version
scarb --version