Table of Contents
General Troubleshooting
If you are having a problem not listed here, jump into our dev chat and let's get it fixed and then documented here. You might want to check your versions of node, npm, MongoDB, and Python, and also make sure your GitHub copy of CodeCombat is up-to-date.
Database
If you get an error like this:
Failed: restore error: coco.media.chunks: error restoring from /root/data/dump/coco/media.chunks.bson: insertion error: EOF
Then try using the --batchSize=100
option:
mongorestore --drop --batchSize=100 /root/data/dump
Bower
If you get errors with bower not being able to clone git repositories, try cloning over https.
Sass
If Sass brings up an error about file encodings being wrong, add this to your .bash_profile:
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
If you only see a white screen, check to see if the first line of app.css is ERROR: Cannot load compass
. If so, try either uninstalling compass (gem uninstall compass
) or re-installing it if you actually need it (gem install compass --pre
).
If you get a white screen on http://localhost:3000 with no JavaScript errors, or if your page loads fine but no CSS is applied, it could be that your brunch isn't compiling Sass properly (public\stylesheets\app.css
is like 70KB instead of >600KB). We don't know of any current issues that are causing this, or workarounds, but it has been a common symptom in the past with different Sass compilation setups, especially on Windows.
- Home
- Archmage Home
- Artisan Home
- Adventurer Home
- Scribe Home
- Diplomat Home
- Ambassador Home
- Archmage General
- Mission statement
- Coco Models
- Coding Guidelines
- Cookbook
- File system
- JSON Schema
- Technical overview
- Testing
- Third party software and services
- Artisan General
- Building A Level
- Coding Guidelines for Artisans
- Editing Thang Components
- Important Artisan Concepts
- Keyboard Shortcuts
- Artisan How-To Index
- Adventurer General
- Scribe General
- Diplomat General
- i18n
- i18n Glossary nb
- i18n Glossary ru
- i18n Glossary es-419
- Ambassador General
- Dev Setup
- Dev Setup: Linux
- Dev Setup: Windows
- Dev Setup: Mac
- Dev Setup: Vagrant
- Dev Setup: Issues
- Game Engine
- Component
- Multiplayer
- Surface
- System
- Thang
- Thang Component System
- Tome
- World
- Artisan Tabs
- Components And Systems
- Scripts
- Settings
- Thangs
- Other
- Aether
- Client models
- Developer organization
- Educational Standards
- Events, subscriptions, shortcuts
- Chat Room
- Chat Room Rules
- Permissions
- Project Ideas List
- Treema
- Versioning
- Views
CodeCombat | Home | Blog | Forum | Teachers | Legal | Contribute