Comments (2)
core.js:6228 ERROR TypeError: Cannot read property 'emailId' of undefined
at ShippingDetailsComponent_Template (shipping-details.component.html:49)
at executeTemplate (core.js:12156)
at refreshView (core.js:11995)
at refreshComponent (core.js:13445)
at refreshChildComponents (core.js:11716)
at refreshView (core.js:12051)
at refreshEmbeddedViews (core.js:13391)
at refreshView (core.js:12022)
at refreshComponent (core.js:13445)
at refreshChildComponents (core.js:11716)
defaultErrorLogger @ core.js:6228
handleError @ core.js:6281
(anonymous) @ core.js:43145
invoke @ zone-evergreen.js:364
run @ zone-evergreen.js:123
runOutsideAngular @ core.js:41488
tick @ core.js:43142
(anonymous) @ core.js:42975
invoke @ zone-evergreen.js:364
onInvoke @ core.js:41654
invoke @ zone-evergreen.js:363
run @ zone-evergreen.js:123
run @ core.js:41427
next @ core.js:42971
schedulerFn @ core.js:37119
__tryOrUnsub @ Subscriber.js:183
next @ Subscriber.js:122
_next @ Subscriber.js:72
next @ Subscriber.js:49
next @ Subject.js:39
emit @ core.js:37079
checkStable @ core.js:41566
onHasTask @ core.js:41675
hasTask @ zone-evergreen.js:419
_updateTaskCount @ zone-evergreen.js:440
_updateTaskCount @ zone-evergreen.js:263
runTask @ zone-evergreen.js:184
drainMicroTaskQueue @ zone-evergreen.js:569
invokeTask @ zone-evergreen.js:484
invokeTask @ zone-evergreen.js:1621
globalZoneAwareCallback @ zone-evergreen.js:1647
Thats probably the problem, you get this error if you go to the checkout page.
from angular-shoppingcart.
The main problem is in the shipping-details.component.ts
authService.user$.pipe(
map((user) => {
this.userDetails = user;
console.log(user);
})
);
We get nothing here if you console log the user or the userDetail like i did, you get undefined back.
So probably there is a problem with the ngmodels in the html i think.
from angular-shoppingcart.
Related Issues (20)
- Error while Creating User - Cant create user HOT 3
- Add payment gateway
- Payload error and some warnings
- Same item can be added to wishlist multiple times
- Npm installaton isue HOT 1
- Firebase DB setup HOT 23
- Support for Firebase Cloud Firestore database HOT 2
- For Admin Role
- Possibilty to make the page wider HOT 2
- Signin with Google HOT 1
- [BUG] Firebase fatal error HOT 2
- Question about use updateProduct() HOT 1
- How to connect it to MongoDB HOT 1
- PROJECT OVERVIEW HOT 1
- [BUG] | Sign page HOT 1
- hello , may I ask you about payment method with paypal or any online payment ?
- shippings.userId undefined
- I can't get products HOT 1
- shopping cart nodemodules are not installing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-shoppingcart.