Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CommentCount.js:125 Uncaught TypeError: Cannot read properties of undefined (reading 'string') #152

Open
korkorran opened this issue Dec 5, 2023 · 1 comment

Comments

@korkorran
Copy link

Describe the bug

When trying to display disqus comments with react-disqus package, I get the error

CommentCount.js:125 Uncaught TypeError: Cannot read properties of undefined (reading 'string') at node_modules/disqus-react/lib/CommentCount.js

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://stackblitz.com/~/github.com/frederic-lang/awesome-konva-react-demos . error is shown on the 'disqus' branch
  2. See the app is not displayed

Expected behavior

The app should display with disqus comments on the 'drag a star' page

Screenshots

Capture d’écran du 2023-12-05 12-03-13

Specifications:

  • OS: ubuntu
  • Package version: "disqus-react": "^1.1.5",
  • Node version: v21.1.0

Additional context

prop-types is marked as an external dependencies in vite.config.ts (required by vite)

@jzzcoding
Copy link

jzzcoding commented Nov 19, 2024

+1 seeing this issue as well

<DiscussionEmbed
      shortname='jzzcoding'
      config={
^
        {
          url: this.props.article.url,
          identifier: this.props.article.id,
          title: this.props.article.title,
          language: 'en'
        }
      }
    />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants