Dave Partner

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Dave Partner

Pages: 1 2 3 4 5 6 7 [8]
106
Step 1: package.json to contain the following versions

Quote
"dependencies": {
  "angularfire2": "^2.0.0-beta.2",
  "firebase": "^3.0.5",
  ...
},
"devDependencies": {
  "ionic-gulp-browserify-typescript": "^2.0.0", (Dunno what you can do for non-Ionic projects)
  ...
Step 2: install typings version 1.0.5 (that might be due to node version i have - v5.12.0)

Step 3: tsconfig.json to contain:

Quote
"files": [
    "node_modules/angularfire2/firebase3.d.ts"
  ],
  "exclude": [
    "node_modules",
    "typings/global",
    "typings/global.d.ts"
  ],
Step 4: typings/index.d.ts

Quote
/// <reference path="globals/es6-shim/index.d.ts" />
/// <reference path="../node_modules/angularfire2/firebase3.d.ts" />

107
Uninstall angularfire from your project, its the one causing the error => typescript: node_modules/firebase/firebase.d.ts, line: 405     

Here is another solution:
you can reference the Firebase 3 typings file that is included in the angularfire2 node package directly in your typings.json. Run:

typings install file:node_modules/angularfire2/firebase3.d.ts --save --global
this saves the reference into typings.json
NOTE: requires typings v.1+
typings install
this puts the typings files in the typings/ directory.   

One more solution  is using the "files" array in the tsconfig.json file.

 "files": [
    "node_modules/angularfire2/firebase3.d.ts"
  ],

108
Try run, 'ionic serve' instead of 'ionic serve' --lab
Can I see the structure of your ionic2 project folder.

It seems your command prompt is running on the wrong folder.
I want to see a snapshot of what you have inside signUp/ folder. 

Upload image here => https://postimage.org/
Then paste link.

109
Ionic 2.x / Ionic2 tutorial with firebase as a backend
« on: October 17, 2016, 03:14:16 PM »
Watch here =>


Firebase with Ionic2 Tutorial 1 Introduction and Installation

Firebase with Ionic2 Tutorial 2 Emulator

Firebase with Ionic2 Tutorial 2.5 installing typings

Firebase with Ionic2 Tutorial 3 Installing Firebase in ionic2

Firebase with Ionic2 Tutorial - 4 - icons
 
Firebase with Ionic2 Tutorial - 5 - forms

Firebase with Ionic2 Tutorial - 6 - linking pages with modal
 
Firebase with Ionic2 Tutorial - 7 - how to close a modal

Firebase with Ionic2 Tutorial - 8 - redirecting to new page

Firebase with Ionic2 Tutorial - 10 - debugging app on phone

Firebase with Ionic2 Tutorial - 11 - Providers and Services

Firebase with Ionic2 Tutorial - 12 - http json requests

Firebase with Ionic2 Tutorial - 13 - User Registration

Firebase with Ionic2 Tutorial - 14 - User Login

Firebase with Ionic2 Tutorial - 15 - user logout

Firebase with Ionic2 Tutorial - 16 - reset password user authentication

Firebase with Ionic2 Tutorial - 17 - Sign in with google

Firebase with Ionic2 Tutorial - 18 - Cards

Firebase with Ionic2 Tutorial - 19 - ionic utilities

Firebase with Ionic2 Tutorial - 20 - Theming and customizing

Firebase with Ionic2 tutorial 21 - Material design lite

Firebase with Ionic2 Tutorial - 9 - how to convert to .apk

Firebase with Ionic2 Tutorial - 23 - customizing ionic2

Firebase with Ionic2 Tutorial - 24 - Retrieving from firebase

Firebase with ionic2 tutorial - 25 - retrieving multi diment

Firebase with Ionic2 Tutorial -26 - foreach loop in ionic2

Pages: 1 2 3 4 5 6 7 [8]