React meta tags not working for Facebook

I have clone the app https://github.com/alanbsmith/react-node-example and try to use the react-helmet. By inspecting the browser I can see the meta tags values are present but when I post the URL...

Can I get Webpack to bundle but without minification for debugging?

Seems like a truly stupid question that must have an answer somewhere, but I've searched for hours to no avail. I'm new to ReactJS and building with Webpack, build configs in general. I'm using...

Warning Prop `href` did not match. using react server-side-rendering

I am using react-router-dom and I am guessing that this is causing the problem, but I have no clue where to even start looking or how to fix it. I also am getting errors like Warning: Did not...

eBay Sell API: Aspects object returns 'Could not serialize field' error, when creating Inventory Item

I am using eBay's new REST Sell API to create an inventory item. I am having problems creating product aspects manually. I've tried creating a list of name value pairs but eBay is returning the...

Adding favicon to <Helmet/> in React

I was trying to add a favicon in the <Helmet/> tag of a React App my current <Helmet/> tag looks like this. <Helmet title="ABC" meta={[ { name: "ABC", content: "ABC" } ...

GatsbyJS blog not compiling anymore after "npm update"?

If it's a Gatsby, webpack or npm issue i don't understand yet. I did these commands in terminal and they seem to have started the issue, trying to fix a material-ui "Popper" module that had a...

including external javascript in Gatsby using Helmet

I have this code in the index.js of layout folder: <StaticQuery query={graphql` query SiteTitleQuery { site { siteMetadata { title } } ...

The `uri` parameter to `openUri()` must be a string, got "undefined"

I searched a lot about this, but none of them could help me. When I run my project, I get this error: /home/ali/Desktop/personalitytest-backend/node_modules/mongoose/lib/connection.js:428 ...

AdonisJS - Cannot call function csrfField

When I use {{ csrfField() }} in my edge template, I get the error Cannot call function csrfField from user/payments/pay/unpaidHours.edge view Here is my view <div class="p-3 border-2...

React Helmet not updating meta title tag

I've been setting my react.js SPA's page titles by doing: document.title = {some title} ...so far and it worked fine. Now, I also wanted to update the meta title tag and so I installed...

Redact request headers from pino logging

I'm using koa-pino-logger and by default I get that full request details when the request is completed: req: { "id": 1, "method": "POST", "url":...

i18n node.js setLocale not working! getLocale ALWAYS returns the default locale

I dont know if im using i18n library wrong but I am pretty sure im doing it right. I have been trying to change the locale. Here is my current code. As you can see I call setLocale on the glocal...

React: TypeError: Cannot convert undefined or null to object

I am running a React application. When I enter the page through routes(click button or link) page works fine but when I reload the page it crashes. I cannot see where the error is, the console and...

Content Security Policy in Nuxt.js

Has anyone successfully added a CSP to a Nuxt app? I tried Helmet but it doesn't seem to be compatible with a nuxt.config.js file. Also tried adding csp on the Render property in Nuxt, but ran...

Speed Up Gatsby Performance

I was given a task at work to increase the performance of my project. Currently, the Google Lighthouse score fluctuates but overall it's not that great of a score so we are trying to figure out...

error NG6002: Appears in the NgModule.imports of <module>, but could not be resolved to an NgModule class

I just updated from Angular 8.2 to 9. Everything works well if I disable ivy, but when it's enabled I'm getting a lot of errors that seems to be kind of obscure, at least I can't find any results...

Access-Control-Allow-Origin cors error happening on NodeJS or Nginx

First at all, I have researched about the topic after writing the question, there are many similar question but I think the problem here is...

This type of error comes:- Cannot find module 'sharp'

Error: Cannot find module 'sharp' Require stack: - D:\Marketing\sbj-react\suburban\node_modules\gatsby-plugin-manifest\safe-sharp.js -...

Gatsby keeps complaining Cannot query field "fields" on type "MarkdownRemark" when I have allMarkdownRemark

I am trying to configure my Gatsby project like this starter https://github.com/gatsbyjs/gatsby-starter-blog In my gatsby-node.js I have const path = require(`path`) const { createFilePath } =...

Express req.body is empty

I've tried many StackOverflow answers, and this method normally works using body-parser, however I've been having issues with getting any output from req.body with either AJAX or form data. In...

Why my GraphQL subscriptions are working on local server but not when deployed on live server

I am building a GraphQL server and have subscriptions in it. Once I deploy the server on my local machine and check the subscription in Playground it works, i.e. it listens to events and I get the...

How to train new classes on pretrained yolov4 model in darknet

I trained one custom object detection model for my use case using darknet and yolov4. I mentioned 3 classes in the obj.name file as mentioned below: # data/obj.names no_helmet helmet vest The...

Setting nonce dynamically for <scripts> with express-static?

I'm moving my NodeJS(http+websocket)/vanillaJS to express+websocket/(hopefully React). I want to implement CSP-nonce for script-src with ExpressJS, for the static files. I've managed to set the...

Field "image" must not have a selection since type "String" has no subfields. - What am I missing?

Like many, all I want to do is to be able to use a simple gastby blog with NetlifyCMS. For one second I was able to get an image appear but never again after that. I've tried countless solutions...

facebook says that The following required properties are missing: og:url, og:type, og:title, og:image, og:description, fb:app_id

I have created a web application (https://www.atalki.com/) and testing the application with facebook debugger tools just to make sure the urls are appearing properly and perfect in whatsapp and...

Use ajv-formats with fastify

Playing with fastify and the schema object on routes, I'm trying to add more validations. fastify use (for body validations) ajv. Following fastify documentation and code, to add a ajv plugin I...

Social media share preview link not working

I was trying to create a share preview link for whatsapp(fb, lkdin,..) and i have created a function that receives arguments and then helmet depending on the page where i am it would give to me...

Artifactory OSS: metadata service logs Project update error

I updated Artifactory OSS from 7.15.4 to 7.24.3. Everythings seems running but in the console.log I get all 5 Minutes an entry like this one: 2021-08-21T07:33:19.081Z [34;1m[jfmd ][0m...

Cannot find module 'sanitize.css/page.css'

While building the gatsby project, I faced this kind of error. yarn develop ERROR #98123 WEBPACK Generating development JavaScript bundle failed Cannot find module...

Brand New Macbook Pro Having Trouble Running Gatsby Theme Apollo Docs

I can't seem to get this project running on my new Macbook Pro: https://github.com/apollographql/gatsby-theme-apollo/tree/main/packages/gatsby-theme-apollo-docs This is the command to run: npm...