Skip to content

Instantly share code, notes, and snippets.

@adaptivedev
Created March 8, 2014 21:18
Show Gist options
  • Save adaptivedev/9439003 to your computer and use it in GitHub Desktop.
Save adaptivedev/9439003 to your computer and use it in GitHub Desktop.
steroids errors:
# For an explanation of the steroids.config properties, see the guide at
# http://guides.appgyver.com/steroids/guides/project_configuration/config-application-coffee/
steroids.config.name = "Steroids Tutorial"
# -- Initial Location --
steroids.config.location = "http://localhost/index.html"
# -- Tab Bar --
steroids.config.tabBar.enabled = true
steroids.config.tabBar.tabs = [
{
title: "Index"
icon: "icons/[email protected]"
location: "http://localhost/views/steroidsTutorial/index.html"
},
{
title: "Welcome"
icon: ""
location: "http://localhost/index.html"
},
{
title: "Internet"
icon: "icons/[email protected]"
location: "http://www.google.com"
}
]
# steroids.config.tabBar.tintColor = "#000000"
# steroids.config.tabBar.tabTitleColor = "#00aeef"
# steroids.config.tabBar.selectedTabTintColor = "#ffffff"
# steroids.config.tabBar.selectedTabBackgroundImage = "icons/[email protected]"
# steroids.config.tabBar.backgroundImage = ""
# -- Navigation Bar --
steroids.config.navigationBar.tintColor = "#00aeef"
steroids.config.navigationBar.titleColor = "#ffffff"
steroids.config.navigationBar.buttonTintColor = "#ffffff"
steroids.config.navigationBar.buttonTitleColor = "#ffffff"
# steroids.config.navigationBar.landscape.backgroundImage = ""
# steroids.config.navigationBar.portrait.backgroundImage = ""
# -- Android Loading Screen
steroids.config.loadingScreen.tintColor = "#262626"
# -- iOS Status Bar --
steroids.config.statusBar.enabled = true
steroids.config.statusBar.style = "default"
# -- File Watcher --
# steroids.config.watch.exclude = ["www/my_excluded_file.js", "www/my_excluded_dir"]
# -- Pre- and Post-Make hooks --
# steroids.config.hooks.preMake.cmd = "echo"
# steroids.config.hooks.preMake.args = ["running yeoman"]
# steroids.config.hooks.postMake.cmd = "echo"
# steroids.config.hooks.postMake.args = ["cleaning up files"]
# -- Default Editor --
# steroids.config.editor.cmd = "subl"
# steroids.config.editor.args = ["."]
AppGyver Steroids command simulator
Starting iOS Simulator of type `iphone_retina_4_inch`
Failed to spawn a process, error: EMFILE
The code EMFILE means that the process has run out of file descriptors, increase this with:
$ ulimit -n 1024
And start the command again
/Users/rover/.nvm/v0.10.26/lib/node_modules/steroids/src/steroids/sbawn.coffee:88
this.spawned.stdout.on("data", this.onStdoutData);
^
---------------------------------------------------------
error: TypeError: Cannot read property 'stdout' of undefined
---------------------------------------------------------
stack:
sbawn.coffee:88 - Sbawned.sbawn()
sbawn.coffee:3 - null()
sbawn.coffee:131 - sbawn()
Simulator.coffee:64 - Simulator.run()
Simulator.coffee:3 - null()
Prompt.coffee:85 - onInput()
prompt.js:316 - null()
async.js:139 - null()
prompt.js:313 - assembler()
prompt.js:322 - null()
prompt.js:597 - null()
read.js:111 - onLine()
events.js:95 - EventEmitter.emit()
readline.js:202 - Interface._onLine()
readline.js:531 - Interface._line()
readline.js:760 - Interface._ttyWrite()
readline.js:99 - onkeypress()
events.js:98 - EventEmitter.emit()
readline.js:1095 - emitKey()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment