question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`console.log()` not working in latest `create-react-app` after installing web3uikit

See original GitHub issue

How it happened/How to recreate the issue

  • Create a new React app with npx create-react-app appName

  • Install moralis SDK and Web3UIKit npm install moralis react-moralis web3uikit

    • Warning error displayed in the console image
  • Try to console.log a value Screenshot 2022-05-17 at 12 39 29 PM

  • Error displayed on the webpage Screenshot 2022-05-17 at 12 39 19 PM

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
BillyG83commented, Jun 1, 2022

sorry @aLIEzsss4 and @unclebay143 our small team have been focused on our deadline to deliver the new FE of Moralis.

console-browserify is not a dependancy of the kit, so its one of CRA or a dependency of a dependency… basically we don’t have the man power or the resources to fix these sort of issues that are not related to our code. So i have to say, sadly I will close this issue.

I really encourage you to dig deep into the problem and share the fix here if you find it as this is an open source repo that we have been working on mostly as a passion project. I hope you understand. TY for using the kit

1reaction
unclebay143commented, May 17, 2022

Hi @BillyG83

  1. I just created a new project and installed the dependencies with yarn still throwing the same error.

  2. I also created a new React app with yarn create react-app appName and installed dependencies with yarn and still throwing the same error.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why am I getting a "module not found" when using console.log ...
make sure you type "cd (your project path name )" when you create a new terminal, so any excess packages don't get installed...
Read more >
Web3 don't work with latest of React · Issue #4659 - GitHub
I have an issue with web3 with latest version of react. It can't be imported in code. The message is: Compiled with problems:X...
Read more >
Getting Started with Logging in React - Meticulous
Log everything or clean console? 1. Our Little React Sandbox. Let's quickly create a React app to play with, using yarn , create-react...
Read more >
NextJS React MoralisProvider Error - Moralis Web3 Forum
I'm working on a project and I'm getting an error NoMoralisContextProviderError: Make sure to only call useMoralis within a <MoralisProvider>.
Read more >
React-moralis - npm.io
This project is a thin React wrapper around Moralis, to easily call functionalities and display data. Please check the official documentation of Moralis...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found