Giter Site home page Giter Site logo

Comments (3)

GianfrancoBazzani avatar GianfrancoBazzani commented on September 19, 2024

HI @willboka can you give more context on the error showing up. have you tried with master branch?

from ethernaut.

willboka avatar willboka commented on September 19, 2024

Yes I tried with master branch with multiple versions of node (20.13 and 16.20). I have the following warning when I start the client using yarn start:ethernaut:

Starting the development server...

One of your dependencies, babel-preset-react-app, is importing the
"@babel/plugin-proposal-private-property-in-object" package without
declaring it in its dependencies. This is currently working because
"@babel/plugin-proposal-private-property-in-object" is already in your
node_modules folder for unrelated reasons, but it may break at any time.

babel-preset-react-app is part of the create-react-app project, which
is not maintianed anymore. It is thus unlikely that this bug will
ever be fixed. Add "@babel/plugin-proposal-private-property-in-object" to
your devDependencies to work around this error. This will make this message
go away.

But then I have the error:

Failed to compile.

../node_modules/@truffle/contract/lib/utils/ens.js 56:35
Module parse failed: Unexpected token (56:35)
File was processed with these loaders:
 * ../node_modules/react-scripts/node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
|     return new ENSJS({
|       provider,
>       ensAddress: registryAddress ?? getEnsAddress(networkId)
|     });
|   },

I did all the steps in the README.md. I'm trying to run ethernaut locally.

from ethernaut.

GianfrancoBazzani avatar GianfrancoBazzani commented on September 19, 2024

Thank you for highlighting it, @willboka. We will check it out and find a solution.

from ethernaut.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.