Skip to content

Instantly share code, notes, and snippets.

/// main.js
var foo = require('mylib/foo');
/// modules/mylib/foo.js
var other = require('./other');
// I would expect the modSearch ID to resolve to "mylib/other", but it just comes back as "other"
@AdamHarte
AdamHarte / gist:d9131c747eab3b29b43d
Created December 18, 2014 02:45
HTML5 target compilation errors when including flixel-addons in basic hello world error log
Building HelloWorld
haxelib run openfl build C:\Dev\Projects\HelloWorld\Project.xml html5
C:/HaxeToolkit/haxe/lib/lime/2,0,1/lime/system/System.hx:79: characters 2-24 : Class<ApplicationMain> has no field create
C:/HaxeToolkit/haxe/lib/openfl/2,1,7/openfl/Assets.hx:1144: characters 5-12 : Unknown identifier : __image
C:/HaxeToolkit/haxe/lib/flixel/3,3,6/flixel/system/FlxAssets.hx:25: characters 0-39 : Defined in this class
C:/HaxeToolkit/haxe/lib/openfl/2,1,7/openfl/Assets.hx:1144: characters 5-12 : Invalid assign
C:/HaxeToolkit/haxe/lib/flixel/3,3,6/flixel/system/FlxAssets.hx:25: characters 0-39 : Defined in this class
C:/HaxeToolkit/haxe/lib/openfl/2,1,7/openfl/Assets.hx:1145: characters 13-26 : Unknown identifier : __image
C:/HaxeToolkit/haxe/lib/flixel/3,3,6/flixel/system/FlxAssets.hx:25: characters 0-39 : Defined in this class
C:/HaxeToolkit/haxe/lib/openfl/2,1,7/openfl/Assets.hx:1146: characters 14-28 : Unknown identifier : __image
@AdamHarte
AdamHarte / gist:8795424
Created February 4, 2014 00:40
AntennaPod gpodder login Android error logs
02-04 13:38:29.736: D/GpodnetAuthenticationActivity(8077): Checking login credentials
02-04 13:38:29.746: D/audio_hw_primary(184): select_devices: out_snd_device(2: speaker) in_snd_device(0: )
02-04 13:38:30.896: E/qcom_sensors_hal(618): hal_process_report_ind: Bad item quality: 11
02-04 13:38:31.146: W/System.err(8077): gr: Bad response code: 404
02-04 13:38:31.146: W/System.err(8077): at go.a(SourceFile:633)
02-04 13:38:31.146: W/System.err(8077): at go.a(SourceFile:572)
02-04 13:38:31.146: W/System.err(8077): at go.a(SourceFile:511)
02-04 13:38:31.146: W/System.err(8077): at dn.a(SourceFile:147)
02-04 13:38:31.146: W/System.err(8077): at dn.doInBackground(SourceFile:117)
02-04 13:38:31.146: W/System.err(8077): at android.os.AsyncTask$2.call(AsyncTask.java:288)
@AdamHarte
AdamHarte / SWF haxelib error.
Created May 16, 2012 22:06
SWF haxelib error.
# Output from FlashDevelop after trying to compile to Flash.
# Trying to use the swf haxelib with a swf file that has a Bitmap.
Running process: C:\Program Files (x86)\FlashDevelop\Tools\fdbuild\fdbuild.exe "C:\Projects\Adam\TestHaxe\TestHaxe.hxproj" -ipc 41349ff5-aa54-4081-8ea8-5e19326d51fb -version "2.09" -compiler "C:\Motion-Twin\haxe" -library "C:\Program Files (x86)\FlashDevelop\Library"
Building TestHaxe
haxelib run nme build "C:\Projects\Adam\TestHaxe\application.nmml" flash -debug
Called from ? line 1
Called from InstallTool.hx line 636
Called from InstallTool.hx line 111
Called from installers/InstallerBase.hx line 184