Skip to content

Instantly share code, notes, and snippets.

@mikeumus
Created November 28, 2012 00:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikeumus/4158081 to your computer and use it in GitHub Desktop.
Save mikeumus/4158081 to your computer and use it in GitHub Desktop.
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
Copy link
Author

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