Code

Discussion on Barebone Ionic - Full Application

Discussion on Barebone Ionic - Full Application

By
Cart 801 sales

233 comments found.

Hi, iam also getting this error http://prntscr.com/90ofmk while running command “npm install”

If you already removed the "postinstall": "./install.sh" line from the package.json file as mentioned in documentation, make sure you deleted the comma at the end of the previous line. Please, let me know if this resolves the issue.

this problem solved thanks

Hi, i am getting error while installing bower see screenshot http://prntscr.com/90nw6d plz help me

Since the command git config --global --edit produces error, the problem lies on the Git installation and settings on your machine.

i have installed git via exe file how to fix this issue

This link https://github.com/bower/bower/issues/1574 could give you an insight about a possible reason.

hi just wonder where are the sqlite databases? Can we use pre-populated database?

Yes, we can. This tutorial could help you along with that https://blog.nraboy.com/2015/01/deploy-ionic-framework-app-pre-filled-sqlite-db/

Thank you very

Desktop\barebone-ionic>grunt build Loading “Gruntfile.js” tasks…ERROR >> SyntaxError: C:\Users\Raab\Desktop\barebone-ionic\package.json: Unexpected token } Warning: Task “build” not found. Use—force to continue.

Aborted due to warnings.

Desktop\barebone-ionic>

What does this mean? Im running Windows made the edits to the json, but having issues running grunt build.. Running grunt—help doesn’t show the command in the list either..?.?

Did you remove the line from the package.json file as it is described in documentation? If you did so and still face this error, you can send me your package.json file to make sure it is not corrupted.

Hi @skounis. Is there any example how to port this application as a Visual Studio 2013/2015 Apache Cordova App ? Any help from someone that has repeated this step would be appreciated.

That would be great help. I compiled everything according to the manual, I managed to import to a cordova solution in visual studio and compile there as well successfully, I ran via ripple, it loads but no css seem to render correct. I would appreciate if you could compile it !!!

Please send me a message by using the contact form in my profile page. A built [www] folder will be prepared for you.

Package is sent

I want use this using Ionic Lab, but I not see anything, how can I do? Thanks

Sorry, I buyed a Barebone Material

Hi,

you should build the app by using “grunt build” or “grunt build—force” in order for the [www] folder to be created.

This is the folder Ionic Labs need.

Hello, I’ve sent you an email from your contact page. Can you please respond?

Sure, please check your mailbox.

hi skounis

i see your documentation for facebook api is no longer valid since facebook change the appearance for facebook apps, because there is no “mobile site URL” in “https://developers.facebook.com/apps/” would you like please to provide a new and simple article to put “facebook page(timeline,photo,etc)” its a simple as we opening facebook fanpage in chrome on mobilephone (m.facebook.com/yourfanpage) in barebone-ionic.

thankyou Aziz

Could you please mention what particular part of the API is not working any more? I have checked all the implemented screens related to Facebook and they are still working the way the should.

Hello,

We need to make an application for a directory website based on wordpress. This app is compatible with wordpress directory templates / plugins ?

Thanks.

I see. The app is coming with an example of how to integrate it with Wordpress by using JSON. In your case you should first check if this wordpress site is able to provide all the directory based information in a JSON format by exposing the related API Endpoints.

If yes then you could adjust the Barebone Ionic accordingly in order to consume these data and display the in a mobile friendly manner.

Custom work however, for all these, is required.

Thank you for your answer. I will check it asap.

Can I customize the look and layout of the Events Calendar? thanks

Hi,

Since it is produced by HTML/CSS the short answer is yes you could override its style rules.

Hi, I’ve added an authentication using statechange event can you help me how to invoke the spinner “Loader image”. Also how does it work in the galleries, articles etc. I cant see any explicit loader/spinner calls but its showing upon transition.

Could you please contact by using the contact form in my profile page? I will need more information about this in order to get back to you.

When running the project in the browser I’m getting ” Failed to instantiate module barebone.ad due to: Error: [$injector:nomod] Module ‘barebone.ad’ is not available!”.. This is the only module in the application that’s not being injected properly. I checked the node_modules folder and it there as a dependency. I also checked the ad.module.js script and the module is in fact named “barebone.ad”. Last but not least the the script is included in the index file… “scripts/ad/ad.module.js”.. Any ideas about this error?? When I remove this dependency the application runs in the browser. Now it just shows up blank.

Hi,

are you running the app on windows or macos machine?

Could you please share with me the logs you are receiving in your console?

Hi there, i can’t get the ionic analytics to work with this app. Even though i have follows the steps from ionic docs exactly and included it in the app.js and the <script> in index.html. I’m getting the error Module ‘ionic.service.analytics’ is not available! You either misspelled the module name or forgot to load it. Is there something i need to do differently with barebone? Thanks

Is the index.html you used that which located within the [app] folder? There is an index.html file in the [www] folder which should not be edited.

201 info postinstall Barebone@2.9.0 202 verbose unsafe-perm in lifecycle true 203 info Barebone@2.9.0 Failed to exec postinstall script 204 verbose stack Error: Barebone@2.9.0 postinstall: `./install.sh` 204 verbose stack spawn ENOENT 204 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:17:16) 204 verbose stack at ChildProcess.emit (events.js:110:17) 204 verbose stack at maybeClose (child_process.js:1015:16) 204 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:1087:5) 205 verbose pkgid Barebone@2.9.0 206 verbose cwd /Volumes/BonsaiTouch/barebone-ionic 207 error Darwin 15.0.0 208 error argv “node” ”/usr/local/bin/npm” “install” 209 error node v0.12.7 210 error npm v2.11.3 211 error file sh 212 error code ELIFECYCLE 213 error errno ENOENT 214 error syscall spawn 215 error Barebone@2.9.0 postinstall: `./install.sh` 215 error spawn ENOENT 216 error Failed at the Barebone@2.9.0 postinstall script ’./install.sh’. 216 error This is most likely a problem with the Barebone package, 216 error not with npm itself. 216 error Tell the author that this fails on your system: 216 error ./install.sh 216 error You can get their info via: 216 error npm owner ls Barebone 216 error There is likely additional logging output above. 217 verbose exit [ 1, true ]

Kindly guide with the above error

Could you please remove the call to the install.js script in the package.json and run npm install.again?

Then you could run the commands the install.js has manually

Hi, I hope someone could help me out. I’m creating a new feature for the stock barebone-ionic app named PAYMENTS. So I created the following:

payments.module.js, (function() { ‘use strict’;

angular
    .module('nc.payments', [
        'ionic'
    ]);

})();

payments.controller.js

(function() { ‘use strict’; angular .module(‘nc.payments’) .controller(‘PayCtrl’, PayCtrl);

PayCtrl.$inject = ['$scope', '$state',  '$ionicPopup'];
/* @ngInject /
function PayCtrl($scope, $state,  $ionicPopup) {
           $scope.paymenttype = 'visa';
           function processPayment(data){
/ do something */
       }
}

})();

My problem is im always having a problem with this:

Failed to instantiate module ‘nc.payments’

I aready included ‘nc.payments’ in the app.js Am I missing something?

Thanks in advance.

Could you please send me the whole folder of your module?

how can i send you the files?

Please use the contact form located in the lower right corner in my profile page: http://codecanyon.net/user/skounis

Pack your files and use a service like ge.tt

Hi does include push notifications? can this work with a apsx website? is there any way to make an icon an open a apsx website? thanks

Hi,

yes the app comes with a full working example of Push Notifications accompanied by a detailed guide on how to configure it properly.

Yes the app has examples on how open web-sites and other external links in the web browser of the device.

It’s possible to post to instagram?

Barebone Ionic comes with an example of how to use the API of Instagram.

Make a post is not an implemented example. You could use the provided examples as a point of reference to guide you though.

The following links will provide you additional information about the endpoint you should use and how

https://instagram.com/developer/endpoints/ http://stackoverflow.com/questions/18844706/how-to-post-pictures-to-instagram-using-api

Hi,

Do you have autocomplete functionality?

Sridhar

Are you mentioning something like these here?

https://github.com/guylabs/ion-autocomplete

Currently not but it is a very interesting improvements. It will be part of the app very soon.

Since you have already purchased the app please contact me and I will provide you back the updated version without to have to wait for Codecanyon to review and release it.

Svennela,

this is an experimental implementation we are working on a separate branch. If you contact me directly I could share the code base with you.

>> Current working directory is not a Cordova-based project.

Kindly guide with the above error

Cordova CLI: 5.3.3 Gulp version: CLI version 3.9.0 Ionic CLI Version: 1.6.5 OS: Windows 10 Node Version: v4.1.2

Please try
grunt build --force

This will create aa fresh “www” folder which will contain the generated PhoneGap app

How to use this ? any videos tutorials ? and how to connect to phpmyadmins to collect info and data to show in the app

Did you started with npm install?

first got a lot of warning then got a lot of new errors

such as

npm ERR! Windows_NT 10.0.10240 npm ERR! argv npm ERR! node npm ERR! npm npm ERR! path npm ERR! code npm ERR! errno npm ERR! syscall

and many more

I see that you are using Windows. There is note in the documentation about a line in the package.json that should be removed when windows is the target platform.

In addition to this please check your nodejs version. The windows environment is tested with version 0.12.x of nodejs.

Check also the following article which will help you to prepare your box for.development

http://www.titaniumtemplates.com/node/48
by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey