Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAlexander Solberg
14,350 PointsCan't enter "{}" in MongoDB Shell
So after spending a long time trying to figure out how to install and use MongoDB, I of-course, ran into another problem.
When I'm in the mongo shell, I can't enter any curly braces or square brackets. In fact, I can't enter any characters that require CTRL + ALT(or AltGr) to be pressed simultaneously. There is very little information to be found on Google, just a confusing post from Stack-overflow which I couldn't make much sense of.
Also, If I copy n paste curly braces into the mongo shell, I just get an error sound, nothing is displayed.
Link to Stack-overflow post: https://stackoverflow.com/questions/8695400/not-able-to-use-and-characters-in-mongodb-console
Seems like it has something to do with my keyboard type. I am from Norway and we have a different kind of keyboard layout here. We use QWERTY but with some extra characters.
Link to keyboard overview: https://nn.wikipedia.org/wiki/Tastaturoppsett#/media/File:KB_Norway.svg
Anyone know of a workaround to this problem? Anything I could try to do before contacting MongoDB-support?
I'm on Windows 8.1, using Atom as my IDE.
I have used MongoDB before on Cloud 9, using the same keyboard, with no problems at all. Which is why this problem is so strange and incredibly frustrating.