Got an error while using Sencha touch 2.1.1 CDN - extjs

I've built my app using sencha touch 2.0 CDN and now I am trying to migrate to 2.1.1. But, I am getting an error - Uncaught SyntaxError: Unexpected token ) in sencha-touch-all.js:21.
CDN URL is: http://cdn.sencha.com/touch/sencha-touch-2.1.1/sencha-touch-all.js
Please let me know why I am getting this error?

I recommend you to use the sencha CMD to generate the project. That would provide you with a lot of commands including 'sencha app upgrade' which updates your app with a newer sdk.
http://docs.sencha.com/touch/2.2.1/#!/guide/command
http://docs.sencha.com/touch/2.2.1/#!/guide/command_app-section-upgrading-your-application

Related

Sencha CMD build classic app not working but modern does

I have sencha Universal app. Recently i switched from windows to Linux so i have to reinstall everything.
Now my sencha CMD version is v6.7.0.63, app version is 6.2.167. When i try to create new app with CMD it is successfully creating the new app, and sencha app build classic on this newly created app is also good. But when i try to build the old app, it is not working. My Old app build ios is also working. But not the classic.
Here is the error it gives when i run sencha app build classic
Exception information:
Sencha/Cmd/6.7.0.63/plugin.xml:333: The following
error occurred while executing this line:
htdocs/pi-v3/public/App/.sencha/app/build-impl.xml:273:
The following error occurred while executing this line:
htdocs/pi-v3/public/App/.sencha/app/js-impl.xml:186:
com.sencha.exceptions.BasicException
at com.sencha.ant.AntScript.execute(AntScript.java:121)
and when i run sencha app build ios it run without any error
The error was so unclear in linux. But i was able to solve it. As you can see the error doesn't say anything about the head or memory but it was actually error due to small heap size. so i have to increase the memory using;
export _JAVA_OPTIONS="-Xms1024m -Xmx2048m"

Twilio Flex UI - WebRTC/ORTC deploy error

I am building a custom Twilio Flex plugin using this repo as the starting point. When I build and deploy the built project, I get the error:
Failed to initialize Flex: twilio.js 1.3+ SDKs require WebRTC/ORTC browser support. For more information, see https://www.twilio.com/docs/api/client/twilio-js. If you have any questions about this announcement, please contact Twilio Support at .
The weird thing is the twilio-client is not ever used directly in this app. I even tried to add it as a dependency with the most updated stable version but still getting the same error. I'm on Google Chrome version 75.0.3770.80. It runs just fine locally while developing. But, as soon as the project is built with react-scripts build, it throws the error above. Anyone dealt with this before??

Camera is not defined in Cordova

I have implemented a camera functionality in an ionic-angular based application.I am getting an error Camera is not defined.The above mentioned error is occurring when I am using the command ionic serve.The issue doesn't exist when command ionic browser is used.Also getting the same error Camera is not defined when I deployed the app to firebase.Any suggestions for steps I need to follow while deploying the app to firebase to avoid the error ?
Below is the behavior I could see.
I used the command ionic serve.
The Camera plugin doesn't loads in browser view and I could see the following error.
Error from browser
On using the command ionic run browser,Could see camera getting loaded.This is browser view.ionic run browser
This application is deployed using firebase deploy command and hosted in a firebase environment.I could see the same behavior ie(Camera not loading) when accessed the url through an android phone(Moto X Play). Is this expected?.Do I need to execute some other steps while deploying my application to firebase.
Also I have included the ngCordova dependencies in my app.js and included the cordova.js just before ng-cordova.js in my index.html.Currently this app is not installed in playstore or Apple app store.This application is developed in ionic and can be viewed in mobile device by accessing firebase hosting url in which the application is deployed.
Camera plugin is a cordova plugin.and some cordova plugins doesn't support in browser. so install your app into mobile, it will work fine.

AngularJS plugin for intellij 15.0.1 not found

I am trying to install the AngularJS plugin for Intellij IDEA (https://plugins.jetbrains.com/plugin/6971?pr=idea), but am facing the following issues:
when using the plugin browser, IDEA does not find it (only result is Ionic Framework when searching AngularJS)
when downloading and installing manually, I get the following message: "Plugin AngularJS depends on unknown plugin JavaScript". A plugin I cannot, obviously, find.
Is this plugin no longer available for Intellij IDEA?
As mentionned by Lawrence, this is not available for Community edition.

sencha app build production error?

I am building an app with Sencha Command, I have followed all the steps and everything has worked fine until I enter the command sencha app build production. I am getting the following errors
[ERROR] CreateProcessW: The system cannot find the file specified.
[ERROR] Failed loading your application from: 'http://localhost/am/index.html'. Try setting the absolute URL to your application for the 'url' item inside 'app.json'
I am using the most up to date sencha touch sdk tools and sencha touch 2 sdk.
I do not know why these errors exist and I have tried every solution I could think of to fix them.
I have browsed through most of the sencha forums and other sites looking for an answer but to no avail.
Does anyone know why I would be getting these errors and or a solution to fix the errors?
Any help would be greatly appreciated.
Did you try to do what the error recommend: "Try setting the absolute URL to your application for the 'url' item inside 'app.json'" ?

Resources