Giter Site home page Giter Site logo

Comments (8)

cguedes avatar cguedes commented on May 3, 2024 1

For people that use browserify the solution is to use the ignore method of browserify with 'buffertools':

    var bundler = browserify({ ... yourconfig ... }).ignore('buffertools')

from react-jsonschema-form.

n1k0 avatar n1k0 commented on May 3, 2024

I had to deal with that as well, and solved it in the webpack configuration by ignoring this import.

You may want to do the same in your browserify configuration. You may also want file an issue to their repository, as I think they shouldn't do what they do, or at least the way they do it.

from react-jsonschema-form.

cguedes avatar cguedes commented on May 3, 2024

@n1k0 Tnks for the hint on this.

Shouldn't this note be on some README.md section (i.e. Troubleshooting)?

from react-jsonschema-form.

n1k0 avatar n1k0 commented on May 3, 2024

Shouldn't this note be on some README.md section (i.e. Troubleshooting)?

You're most definitely right. I'm also considering switching to another similarily scoped lib, but can't find anything as tiny as "deeper"; eg. switching to lodash isEqual bumps the build from 61kb to 68 :/

from react-jsonschema-form.

cguedes avatar cguedes commented on May 3, 2024

Yes, that would be the best approach. In the meanwhile, we should add the README.md. I will PR that for you.

from react-jsonschema-form.

n1k0 avatar n1k0 commented on May 3, 2024

I will PR that for you.

That's awesome, thanks. On my end I have an idea to solve the problem in the deeper lib itself as described in othiym23/node-deeper#3 (comment); gonna work on a PR.

from react-jsonschema-form.

cguedes avatar cguedes commented on May 3, 2024

@n1k0 PR created: #124

from react-jsonschema-form.

nuclearspike avatar nuclearspike commented on May 3, 2024

Thanks for the ".ignore('buffertools')" tip! I was completely stuck on this one and that fixed it!

from react-jsonschema-form.

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.