Giter Site home page Giter Site logo

Disable react components? about funnies HOT 8 CLOSED

1egoman avatar 1egoman commented on July 17, 2024
Disable react components?

from funnies.

Comments (8)

nicholaszuccarelli avatar nicholaszuccarelli commented on July 17, 2024 1

Awesome I'll give it a try later! Thanks :)

from funnies.

1egoman avatar 1egoman commented on July 17, 2024 1

Inside of your node_modules folder, do you have a funnies folder? In the above, it looks like the installation succeeded, but your build script failed. (Trying to figure out if it's something weird with funnies or something weird with the build script)

from funnies.

1egoman avatar 1egoman commented on July 17, 2024 1

Cool, good to hear! If you end up writing a nice Vue wrapper for funnies consider contributing it back to the project! 😄

from funnies.

1egoman avatar 1egoman commented on July 17, 2024

@nicholaszuccarelli I just pushed a new version making the react component optional (v2.0.0)

Try this and let me know how it goes: https://github.com/1egoman/funnies#javascript

from funnies.

nicholaszuccarelli avatar nicholaszuccarelli commented on July 17, 2024

Hey man, one more problem when installing. It won't actually install now because it is still looking for the react dependency when running npm install --save funnies

from funnies.

1egoman avatar 1egoman commented on July 17, 2024

React is still a peer dependency (read more), but I don't really see a way around that without separating the react code into a separate package.

Can I take a look at some logs? I suspect you're just getting a warning about the peer dependency being missing (and while it's still something to address, a missing peer dependency shouldn't block installation of a package)

from funnies.

nicholaszuccarelli avatar nicholaszuccarelli commented on July 17, 2024

For some reason it is blocking the installation. When I import funnies into the component file, it just complains that funnies doesn't exist.

image

from funnies.

nicholaszuccarelli avatar nicholaszuccarelli commented on July 17, 2024

Yeah, it looks like it did indeed add the files but for some reason the build corrupt.
I deleted the folder and reinstalled and it works now! Thanks a lot (great package btw :P)

from funnies.

Related Issues (12)

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.