Skip to content

Instantly share code, notes, and snippets.

@scottweinert
scottweinert / gist:8d60c636dd045a8f02db
Created March 23, 2015 22:18
Branch metrics issue when running `ionic build ios`
CompileC build/Unbill.build/Debug-iphonesimulator/Unbill.build/Objects-normal/i386/CDVBranch.o Unbill/Plugins/io.branchmetrics.branchreferral/CDVBranch.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/scott/Sites/unbill/unbill-mobile/platforms/ios
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/scott/Library/Android/sdk/platform-tools:/Users/scott/Library/Android/sdk/tools"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c99 -fobjc-arc -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate
@scottweinert
scottweinert / gist:5446273
Created April 23, 2013 18:46
package.json
{
"name": "twitterPIE",
"version": "0.0.0-5",
"description": "twitterPIE API server",
"main": "app.js",
"dependencies": {
"application-name": "~0.0.1",
"express": "~3.1.0",
"jade": "*",
"async": "*",
{
__v: 57,
_id: ObjectId("5133bcc1578b45335000064c"),
amenities: [
{
title: "Washer/Dryer",
status: "active",
_id: ObjectId("5133bcc1578b453350000653")
},
{
info: Welcome to Nodejitsu pingplot
info: jitsu v0.12.10-2, node v0.8.4
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in node app.js
info: Creating snapshot 0.0.1-1
info Uploading: [=============================] 100%
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: npm http GET https://registry.npmjs.org/async/0.1.22
info: Welcome to Nodejitsu pingplot
info: jitsu v0.12.10-2, node v0.8.4
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in node app.js
info: Creating snapshot 0.0.1-1
info Uploading: [=============================] 100%
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: npm http GET https://registry.npmjs.org/async/0.1.22
{
"name": "application-name",
"main": "./index.js",
"version": "0.0.1-1",
"private": true,
"directories": {
"lib": "."
},
"dependencies": {
"async": "0.1.22",
Scott-Weinerts-MacBook-Pro-10:pingplot scottweinert$ sudo jitsu deploy
info: Welcome to Nodejitsu pingplot
info: jitsu v0.12.10-2, node v0.8.4
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in node app.js
warn: Local package version appears to be old
warn: The package.json version will be incremented automatically
warn: About to write /Users/scottweinert/Sites/pingplot/node/pingplot/package.json
warn: Using '*' as a version for dependencies may eventually cause issues
Error: spawn ENOMEM
Error: spawn ENOMEM
at errnoException (child_process.js:847:11)
at ChildProcess.spawn (child_process.js:794:11)
at exports.spawn (child_process.js:618:9)
at gm._spawn (/opt/haibu/apps/pingplot/pingplot/package/node_modules/gm/lib/command.js:179:16)
at gm._exec (/opt/haibu/apps/pingplot/pingplot/package/node_modules/gm/lib/command.js:160:17)
at gm.identify (/opt/haibu/apps/pingplot/pingplot/package/node_modules/gm/lib/getters.js:74:10)
at gm.Object.keys.forEach.proto.(anonymous function) [as orientation] (/opt/haibu/apps/pingplot/pingplot/package/node_modules/gm/lib/getters.js:33:12)
{
"_id":"77942434db502a0e6be2ef9244261fca",
"_rev":"2-19b291c79cbfb7511684df4e48a82c65",
"status":"fail",
"payload":{
"ref":"refs/heads/production",
"after":"709558b012a900919951098bcefb94b7cc4cecbe",
"before":"3f7ab387a1b8aaed7a50cfbc266f16cdf95512fa",
"created":false,
"deleted":false,
The application pingplot has failed to deploy.
Error 500 deploy:nodejitsu:start_app: Unspecified error
Error: Error building snapshot
at Object.nodejitsu.deploy (/opt/haibu/apps/nodejitsu/nodejitsu-webhooks-api/package/lib/nodejitsu.js:150:29)
at Request. (/opt/haibu/apps/nodejitsu/nodejitsu-webhooks-api/package/models/deploy.js:595:29)
at Request.EventEmitter.emit (events.js:117:20)
at IncomingMessage. (/opt/haibu/apps/nodejitsu/nodejitsu-webhooks-api/package/node_modules/request/main.js:617:14)
at IncomingMessage.EventEmitter.emit (events.js:117:20)