This page lists common problems and work-arounds. This page needs expansion! If you encounter a new problem and solve it, feel free to add it here. If you encounter a problem you don't know how to solve, try asking on Stack Overflow, and be sure to add the "sandstorm.io" tag to your question. Or, talk to us on IRC (#sandstorm on libera.chat) or [sandstorm-dev](https://groups.google.com/group/sandstorm-dev). Note that language-specific issues should be documented in the language-specific guide pages, namely: * [Python](raw-python.md) * [Ruby on Rails](raw-ruby-on-rails.md) * [Pure client apps](raw-pure-client-apps.md) ## Getting a shell in the context of the grain `vagrant-spk enter-grain` allows you to run a shell (e.g. `bash`) in the context of a grain. This can illuminate why an app is behaving in a particular way. For details and limitations, read [the docs about the `vagrant-spk enter-grain` command](debugging.md). ## Clicking a link in the app does not open the link Sandstorm apps cannot navigate the user away from the app. Therefore, app authors should set `target="_blank"` on external links within the app. A convenient way to do this automatically for all links in the page is to add the following HTML to your document's ``: ```html ``` However, if you have both internal and external links, you can add a script such as the following which will only set the target on external links: ```js window.onload = function(){ var a = document.getElementsByTagName('a'); for (var i=0; i