Giter Club home page Giter Club logo

Comments (12)

prashanthrapolu avatar prashanthrapolu commented on May 24, 2024 1

https://stackoverflow.com/questions/53326986/trace-the-node-type-spreadproperty-has-been-renamed-to-spreadelement-at-object
i have refereed this url and solved the issue.
thank you @jgudo

from ecommerce-react.

jgudo avatar jgudo commented on May 24, 2024

Can you provide a screenshot for this error or the whole error message?

from ecommerce-react.

prashanthrapolu avatar prashanthrapolu commented on May 24, 2024

Capture123

from ecommerce-react.

jgudo avatar jgudo commented on May 24, 2024

Can you take a screenshot on the part where the error was encountered?

from ecommerce-react.

prashanthrapolu avatar prashanthrapolu commented on May 24, 2024

7777

from ecommerce-react.

jgudo avatar jgudo commented on May 24, 2024

Seems like you're missing a babel config file
Did you just download the repo or cloned it?

Create a file and name it .babelrc and add the following config

{
"presets": ["@babel/preset-env", "@babel/preset-react"],
"plugins": [
"babel-plugin-transform-class-properties",
"babel-plugin-transform-object-rest-spread",
"@babel/plugin-syntax-dynamic-import"
]
}

from ecommerce-react.

prashanthrapolu avatar prashanthrapolu commented on May 24, 2024

yes i added babel config file same issue is getting ,
i had clone the repo and tried to run the code.

from ecommerce-react.

jgudo avatar jgudo commented on May 24, 2024

Have you referred to same issue here in stackoverflow? https://stackoverflow.com/questions/53326986/trace-the-node-type-spreadproperty-has-been-renamed-to-spreadelement-at-object

from ecommerce-react.

prashanthrapolu avatar prashanthrapolu commented on May 24, 2024

yes i had refereed to above stackoverflow but not luck.😣

from ecommerce-react.

jgudo avatar jgudo commented on May 24, 2024

So I cloned my repo just to check if there were no any error and I didn't see any and it's working fine.
Perhaps you could delete your node_modules and also the package-lock.json and run npm install again.

from ecommerce-react.

whatneuron avatar whatneuron commented on May 24, 2024

Same problem for me,
"babel-plugin-transform-object-rest-spread",
Changed to
"babel-plugin-proposal-object-rest-spread",

in babelrc file... have more issues still but loads of warnings disappeared

from ecommerce-react.

jgudo avatar jgudo commented on May 24, 2024

@whatneuron are you running the latest commit? I've updated all the babel plugins. Consider running a git rebase to get the latest.

$ git remote add upstream [email protected]:jgudo/ecommerce-react.git
$ git fetch upstream
$ git rebase upstream/master

Or

$ git pull --rebase [email protected]:jgudo/ecommerce-react.git

from ecommerce-react.

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.