Skip to content

Tag: typeerror

Cannot read property ‘value’ of null function problem

So a makind something with js, and the following error is happening: Uncaught TypeError: Cannot read property ‘value’ of null at addNumber (index.js:27) at index.js:7 Things I already tryied to do: Remove de parentheses from the addNumber on line 7; Do an onclick function instead of an EventLister…

Node.js throws TypeError: Cannot destructure property ‘firstName’ of ‘req.body’ as it is undefined, even though it works for an other post request

So I know there are tons of similar questions out there, and I’ve read most of them in the past few days. However I didn’t find any solution to my problem. The app is about users can post memories(cards) etc… Point is, when I create a new card with POST request, there is no problem, but when…