Upgrade sencha-touch with Phonegap
C:\dev\sencha-root>phonegap -v 3.3.0-0.19.6 $> npm update -g phonegap
Just another Yipp.ca Blogs site
C:\dev\sencha-root>phonegap -v 3.3.0-0.19.6 $> npm update -g phonegap
Assumptions: - You are on Windows (this article was written against Windows 7) - You pickup an arbitrary install location of C:\dev\ folder There are three components to install 1. Sencha-cmd 2. Sencha Touch...
1. Install .NET 4.5 framework 2. Add this to path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319 (or wherever your 4.5 framework is)
C:\dev\cw2\node_modules\gulp-less\node_modules\accord\node_modules\when\lib\decorators\unhandledRejection.js:80 throw e; ^ Error: variable @btn-border-radius-base is undefined in file C:\dev\cw2\bower_components\bootstrap\less\buttons.less line no. 20 Solution: I don't know what is the proper fix, and in the meantime I'm doing this patch : In...
events.js:85 throw er; // Unhandled 'error' event ^ Error at new Parser (C:\dev\cw2\node_modules\gulp-less\node_modules\less\lib\less\parser.js:333:27) at Object.less.render (C:\dev\cw2\node_modules\gulp-less\node_modules\less\lib\less\index.js:18:22) at Transform._transform (C:\dev\cw2\node_modules\gulp-less\index.js:38:10) at Transform._read (C:\dev\cw2\node_modules\gulp-less\node_modules\through2\node_modules\readable-stream\lib\_stream_transform.js:184:10) at Transform._write (C:\dev\cw2\node_modules\gulp-less\node_modules\through2\node_modules\readable-stream\lib\_stream_transform.js:172:12) at doWrite (C:\dev\cw2\node_modules\gulp-less\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:237:10) at writeOrBuffer (C:\dev\cw2\node_modules\gulp-less\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:227:5) at Transform.Writable.write (C:\dev\cw2\node_modules\gulp-less\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:194:11)...
Application started: { port: '9100', env: undefined } events.js:85 throw er; // Unhandled 'error' event ^ Error: failed to connect to [localhost:27017] at null. (C:\dev\boar-stack-boilerplate3\node_modules\mongoose\node_modules\mongodb\lib\mongodb\connection\server.js:555:74) at emit (events.js:118:17) at null. (C:\dev\boar-stack-boilerplate3\node_modules\mongoose\node_modules\mongodb\lib\mongodb\connection\connection_pool.js:156:15) at emit (events.js:110:17)...
Good var myCollection = new Asset.Collection(null, options); Wrong var myCollection = new Asset.Collection(options); Wrong (this will initialize a collection of 1 model with default values) var myCollection = new Asset.Collection({}, options); Also when...
Legacy code that fails with jQuery > 1.9 $.ajax(app.bannerSettings.url, { files: self.$("#upload-file"), iframe: true }).complete(function(data) { if(data.status === 200) { var response = $.parseJSON(data.responseText); (...) } else { notifier.error_x(data.responseText); } }); Corrected code for...
This is a typical error that happens often so I'm writing it down. Anyone can spot the error in this code ? : var deferred = $.Deferred(); recording.save( { success : function () {...
Fetch model with GET parameters in URL The solution is to add data: $.param({ mySuperVariableName: 1}) in the fetch options. Folders.data.fetch( { data: $.param({ showContent: 1}), success:function(model, response, options) { //model.deferred.resolve(); }, error:function(model, response, options) {...
Recent Comments