Git Product home page Git Product logo

angular-firebase-starter's People

Contributors

angular-cli avatar bave8672 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

angular-firebase-starter's Issues

Error running "npm run build-deploy"

I get the following error. On MacOS 10.13.3. The only think I have changed is set my firebase config.

Alexandres-MacBook-Pro:angular-firebase-starter abb$ npm run build-deploy

> [email protected] build-deploy /Users/abb/Documents/dvp/solomon/angular-firebase-starter
> npm run build && npm run deploy

> [email protected] build /Users/abb/Documents/dvp/solomon/angular-firebase-starter
> npm run build:prod

> [email protected] build:prod /Users/abb/Documents/dvp/solomon/angular-firebase-starter
> ng build --prod --aot

Date: 2018-02-23T16:33:30.349Z
Hash: 6342d434fbb902b2a2d2
Time: 7451ms
chunk {0} styles.db898e6e20adac21b10e.bundle.css (styles) 171 kB [initial] [rendered]
chunk {1} polyfills.997d8cc03812de50ae67.bundle.js (polyfills) 84 bytes [initial] [rendered]
chunk {2} main.ee32620ecd1edff94184.bundle.js (main) 84 bytes [initial] [rendered]
chunk {3} inline.318b50c57b4eba3d437b.bundle.js (inline) 796 bytes [entry] [rendered]

ERROR in app/store/state.module.ts(10,29): Error during template compile of 'StateModule'
  Function calls are not supported in decorators but 'FormReducer' was called in 'CombinedReducers'
    'CombinedReducers' references 'LogInReducer' at app/store/store.config.ts(39,16)
      'LogInReducer' calls 'FormReducer' at app/store/user/logIn/logIn.reducer.ts(4,29).

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:prod: `ng build --prod --aot`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build:prod script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/abb/.npm/_logs/2018-02-23T16_33_30_389Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `npm run build:prod`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/abb/.npm/_logs/2018-02-23T16_33_30_439Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build-deploy: `npm run build && npm run deploy`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build-deploy script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/abb/.npm/_logs/2018-02-23T16_33_30_508Z-debug.log

How can I change te nesting of the database push

Hi I used you'r template, I renamed todos to categories

You store my categories in my firebase now like this in the categories.effects.ts:

update$ = this.actions$
    .ofType(CategoriesActionTypes.Update)
    .map((action: CategoryActions.Update) => action.payload)
    .switchMap(category => {
        if (!category.uid) {
            const ref = this.categoryService.categories(category.name).push({
                name: category.name,
                description: category.description,
                uid: '',
            });
            return ref.set({
                name: category.name,
                description: category.description,
                uid: ref.key,
            });
        } else {
            return this.categoryService.category(category.uid).set(category);
        }
    });

I want to change the nesting of my database like this:

return this.db.list(`/restaurants/${this.auth.auth.currentUser.uid}/restaurant_menu/${category_name}`);

But cant seem to make it work could you please help me out on this?

Multiple errors

I encounter multiple javascript error when trying to use the boilerplate.

On attempt to sign-up with Google:

image

Behind the scene the sign-up happens, but the popup window stucks. I can manually switch to profile page and kind of use the app, but similar errors pour in on the console.

On attempt to click "send verification email" button:
image

In general the app does not work for me, which is real pity, it looks like a great boilerplate.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.