Troubleshooting & FAQ
Common issues and solutions for Dubhe Engine development.Installation Issues
CLI Installation Fails
Problem:npm install -g @0xobelisk/dubhe-cli fails with permission errors.
Solution:
Node.js Version Compatibility
Problem: Dubhe CLI requires Node.js v18 or later. Solution:Project Setup Issues
Sui CLI Not Found
Problem:sui: command not found when running dubhe dev.
Solution:
Install the Sui CLI following the official guide:
Local Network Connection Failed
Problem: Cannot connect to local Sui network. Solution:Contract Development Issues
Move Compilation Errors
Problem:Move compilation failed with unclear error messages.
Solutions:
-
Check syntax errors:
-
Common syntax issues:
- Missing semicolons in Move code
- Incorrect module naming
- Missing use statements
-
Clean and rebuild:
Schema Generation Issues
Problem: Generated Move code doesn’t match schema definitions. Solution:Client SDK Issues
Connection Errors
Problem: Frontend cannot connect to deployed contracts. Solutions:-
Check package ID:
-
Network mismatch:
Component Query Failures
Problem:getComponent() returns undefined or throws errors.
Solutions:
-
Entity exists check:
-
Component name mismatch:
Transaction Failures
Problem: Transactions fail with cryptic error messages. Common solutions:-
Insufficient gas:
-
Component ownership:
Performance Issues
Slow Query Performance
Problem: Component queries take too long. Solutions:-
Enable caching:
-
Batch queries:
High Gas Costs
Problem: Transactions consume too much gas. Solutions:-
Optimize Move code:
-
Batch operations:
Development Workflow Issues
Hot Reload Not Working
Problem: Changes to contracts don’t reflect in frontend during development. Solution:VS Code IntelliSense Issues
Problem: TypeScript autocomplete not working for generated types. Solution:Getting Help
If you’re still experiencing issues:Discord Community
Get help from the community
GitHub Issues
Report bugs and request features
Documentation
Review the complete documentation