Skip to content

Lesson 15: React Moralis Error: "Right-hand side of 'instanceof' is not callable" #1786

Answered by shoaibshebi
silaslenihan asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @silaslenihan

use these version in your package.json


"dependencies": {
    "magic-sdk": "^9.0.0",
    "moralis": "1.11.0",
    "next": "^12.2.5",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-moralis": "1.3.5",
    "web3uikit": "^0.0.133"
  },
  "devDependencies": {
    "autoprefixer": "^10.4.5",
    "dotenv": "^16.0.0",
    "eslint": "8.14.0",
    "eslint-config-next": "12.1.5",
    "postcss": "^8.4.12",
    "tailwindcss": "^3.0.24"
  }

just delete the node_modules and after replacing your package.json lines with these can do the magic

👍

Replies: 8 comments 42 replies

Comment options

You must be logged in to vote
5 replies
@silaslenihan
Comment options

@shoaibshebi
Comment options

@WillyEth
Comment options

@silaslenihan
Comment options

@silaslenihan
Comment options

Comment options

You must be logged in to vote
28 replies
@0xBandito
Comment options

@shoaibshebi
Comment options

@shoaibshebi
Comment options

@0xBandito
Comment options

@shoaibshebi
Comment options

Answer selected by silaslenihan
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@nebelmeerwanderer1
Comment options

Comment options

You must be logged in to vote
2 replies
@impy1477
Comment options

@shoaibshebi
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@nehal2210
Comment options

@shoaibshebi
Comment options

@nebelmeerwanderer1
Comment options

@azharul-lincoln
Comment options

@shoaibshebi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
9 participants