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

Issue with Vite: Uncaught TypeError: Super expression must either be null or a function #8499

Closed
4 tasks done
tiavina-mika opened this issue Apr 9, 2023 · 2 comments
Closed
4 tasks done
Labels
state:duplicate Duplicate of already reported issue type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@tiavina-mika
Copy link

tiavina-mika commented Apr 9, 2023

New Issue Checklist

Issue Description

When running yarn dev, the server is running without error, but with a blank page and an error in the browser console
image

Steps to reproduce

yarn dev
See the browser console

Actual Outcome

Blank page and and got an error in browser console
Clone this repository and run yarn dev to reproduce it: https://github.com/tiavina-mika/parse-server-vite-issue

Expected Outcome

Should display the page

Server

  • Parse Server version: 5.3.0
  • Operating system: Windows 10
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): Local

Database

  • System (MongoDB or Postgres): MongoDB
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): MongoDB Atlas

Client

  • SDK (iOS, Android, JavaScript, PHP, Unity, etc): JavaScript
  • SDK version: 3.4.3

Logs

inherits.js:9 Uncaught TypeError: Super expression must either be null or a function
    at _inherits (inherits.js:9:11)
    at LiveQuerySubscription.js:149:18
    at node_modules/parse/lib/browser/LiveQuerySubscription.js (LiveQuerySubscription.js:197:1)
    at __require2 (chunk-7FP5O474.js?v=ba11ca24:10:50)
    at node_modules/parse/lib/browser/LiveQueryClient.js (LiveQueryClient.js:63:53)
    at __require2 (chunk-7FP5O474.js?v=ba11ca24:10:50)
    at node_modules/parse/lib/browser/ParseLiveQuery.js (ParseLiveQuery.js:41:47)
    at __require2 (chunk-7FP5O474.js?v=ba11ca24:10:50)
    at node_modules/parse/lib/browser/Parse.js (Parse.js:339:19)
    at __require2 (chunk-7FP5O474.js?v=ba11ca24:10:50)
@parse-github-assistant
Copy link

parse-github-assistant bot commented Apr 9, 2023

Thanks for opening this issue!

  • 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

@mtrezza mtrezza added the type:bug Impaired feature or lacking behavior that is likely assumed label Apr 9, 2023
@dblythy
Copy link
Member

dblythy commented May 22, 2023

Duplicate of parse-community/Parse-SDK-JS#1362

@mtrezza mtrezza added the state:duplicate Duplicate of already reported issue label May 22, 2023
@mtrezza mtrezza closed this as completed May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:duplicate Duplicate of already reported issue type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
Development

No branches or pull requests

3 participants