Skip to content

Instantly share code, notes, and snippets.

@mikeumus mikeumus/deploysu
Created Nov 28, 2012

Embed
What would you like to do?
jit su deploys you
data: version: '0.1.1-2',
data: subdomain: 'whyinkadmin'
data: }
data:
prompt: Is this ok?: (yes) yes
info: Creating snapshot 0.1.1-2
info Uploading: [========================= ] 88%
info: Updating app inkwhyadmin
info: Activating snapshot 0.1.1-2 for inkwhyadmin
info: Starting app inkwhyadmin
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error:
error: There was an error while attempting to start the app
error: Error spawning drone
error: Script prematurely exited
error:
error: This type of error is usually a user error.
error: Error output from app:
error:
error: /opt/haibu/apps/mikeumus/inkwhyadmin/package/index.html:1
error: (function (exports, require, module, __filename, __dirname) { <!DOCTYPE html P
error: ^
error: SyntaxError: Unexpected token <
error: at Module._compile (module.js:437:25)
error: at Object.Module._extensions..js (module.js:467:10)
error: at Module.load (module.js:356:32)
error: at Function.Module._load (module.js:312:12)
error: at Function.Module.runMain (module.js:492:10)
error: at carapace.run (/opt/haibu/carapace-versions/0.8.9/node_modules/haibu-carapace/lib/carapace.js:170:30)
error: at process.startup.processNextTick.process._tickCallback (node.js:244:9)
error: /opt/haibu/apps/mikeumus/inkwhyadmin/package/index.html:1
error: (function (exports, require, module, __filename, __dirname) { <!DOCTYPE html P
error: ^
error: SyntaxError: Unexpected token <
error: at Module._compile (module.js:437:25)
error: at Object.Module._extensions..js (module.js:467:10)
error: at Module.load (module.js:356:32)
error: at Function.Module._load (module.js:312:12)
error: at Function.Module.runMain (module.js:492:10)
error: at carapace.run (/opt/haibu/carapace-versions/0.8.9/node_modules/haibu-carapace/lib/carapace.js:170:30)
error: at process.startup.processNextTick.process._tickCallback (node.js:244:9)
@mikeumus

This comment has been minimized.

Copy link
Owner Author

commented Nov 28, 2012

When trying to deploy a .html file, AvianFlu says:

@AvianFlu you could use an ez-mode static file server in node
@AvianFlu try jitsu install http-server and put your frontend into its ./public/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.