Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Unknown plugin "babel-plugin-transform-object-rest-spread" #7207
I am trying to build my project, but have run into an issue at the last hurdle.
I had to add this plugin for a helper function and it's caused more issues than its solved, though likely my incompetence is at fault.
I am also mythed as I can't seem to find any other babel config files to explicitly add this plugin?
Any assistance would be appreciated greatly :^)
Hey @rnmalone! We really appreciate you taking the time to report an issue. The collaborators
Running into the same issue--works fine in development though not when deployed to heroku:
I am rather new to this, am following a video course.
Everything was working fine, then 2 days ago when I attempted to start project with webpack (compile/dev server) I received a similar message:
Unknown plugin "babel-plugin-transform-object-rest-spread"
I have been using yarn to add packages to the project. I tried a remove/add, no error messages, but also no success eliminating error message. When I look at the directory in node-modules, the is no /lib directory in the one for "babel-plugin-transform-object-rest-spread" or "babel-plugin-syntax-object-rest-spread".
npm install in another project seemed to work properly, at least there was a /lib directory with an index.js file in it.
Don't know whether issue with yarn or babel addon.
Apologies for any issues my inexperience may create.
My apologies, inexperience definitely involved.
Clearing the yarn cache, deleting /node_modules and running "yarn install" seems to have resolved my problem.
Not sure what caused the problem since everything was working fine the day before when I stopped webpack. Tried deleting directories and running "yarn install" multiple times. Only found out about yarn cache during web search last hour. Also, should have indicated Win10 is my OS.
Again, my apologies for commenting here.