Skip to content

Tag: node.js

login into gmail fails for unknown reason

I am trying to login into my gmail with puppeteer to lower the risk of recaptcha here is my code but i always end up with this message I even tried to just open the login window with puppeteer and fill the login form manually myself, but even that failed. Am I missing something ? When I look into console

How to update user data in MongoDB using node.js

I have a simple express app with MongoDB connection where I can register a user. Registering and logging in and out works fine but now I’m trying to add possibility to edit user data. My code doesn’t throw any errors but it doesn’t update the data in database neither. I’ve tried to rea…

Luxon is failing to parse this date format

I’m trying to figure out why luxon is failing to parse this date format. This is the original value I have: 2019-04-23T23:15:07.910Z. What format is this (it looks like an iso format). Code snippet: Output from snippet above: Answer Ahh just figured it out. Turns out 2019-04-23T23:15:07.910Z is actually…