GithubHelp home page GithubHelp logo

Comments (5)

casesandberg avatar casesandberg commented on May 21, 2024

Look like webpack might have an issue finding a plugin? (Issue Thread here: lodash/babel-plugin-lodash#83). The only plugn that is there, and it was added recently, is the lodash plugin: https://github.com/casesandberg/reactcss/blob/master/.babelrc#L8. I am investigating.

from reactcss.

casesandberg avatar casesandberg commented on May 21, 2024

That is weird. It seems not to be an issue on this end as far as I can tell. There wasn't any changes that would affect something like this from 1.2.0 to 1.2.2. Can you clear your node_modules, reinstall and let me know if this is still an issue?

from reactcss.

gufranmirza avatar gufranmirza commented on May 21, 2024

"plugins": [ "babel-plugin-lodash"]

if your main webpack config is missing above plugin it wont work, after adding it works fine.

from reactcss.

PDS42 avatar PDS42 commented on May 21, 2024

I'm still experiencing this issue, with the following logs:

ERROR in ./node_modules/reactcss/lib/index.js
toolbox             | Module build failed: Error: Plugin 0 specified in "/app/node_modules/reactcss/.babelrc" provided an invalid property of "__wrapped__"
toolbox             |     at Plugin.init (/app/node_modules/babel-core/lib/transformation/plugin.js:131:13)
toolbox             |     at Function.normalisePlugin (/app/node_modules/babel-core/lib/transformation/file/options/option-manager.js:152:12)
toolbox             |     at /app/node_modules/babel-core/lib/transformation/file/options/option-manager.js:184:30
toolbox             |     at Array.map (native)
toolbox             |     at Function.normalisePlugins (/app/node_modules/babel-core/lib/transformation/file/options/option-manager.js:158:20)
toolbox             |     at OptionManager.mergeOptions (/app/node_modules/babel-core/lib/transformation/file/options/option-manager.js:234:36)
toolbox             |     at OptionManager.init (/app/node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
toolbox             |     at File.initOptions (/app/node_modules/babel-core/lib/transformation/file/index.js:212:65)
toolbox             |     at new File (/app/node_modules/babel-core/lib/transformation/file/index.js:135:24)
toolbox             |     at Pipeline.transform (/app/node_modules/babel-core/lib/transformation/pipeline.js:46:16)

I've tried the solutions I found here and there, none worked -including adding babel-plugin-lodash. I would appreciate any help on this issue!

from reactcss.

casesandberg avatar casesandberg commented on May 21, 2024

I removed the .babelrc from the NPM payload and it fixes this issue!

from reactcss.

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.