bave8672 / angular-firebase-starter Goto Github PK
View Code? Open in Web Editor NEWAn app boilerplate using Angular 4, Angular CLI, Firebase (angularfire2), Ngrx Store and Ngrx Effects.
An app boilerplate using Angular 4, Angular CLI, Firebase (angularfire2), Ngrx Store and Ngrx Effects.
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
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?
I encounter multiple javascript error when trying to use the boilerplate.
On attempt to sign-up with Google:
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:
In general the app does not work for me, which is real pity, it looks like a great boilerplate.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.