Giter VIP home page Giter VIP logo

Comments (8)

estevanmaito avatar estevanmaito commented on July 30, 2024

Did you install tailwindcss?

Because it is a peerDependency of typography and it has lodash as a dependency, which would avoid this error.

from tailwindcss-typography.

redxtech avatar redxtech commented on July 30, 2024

Yes, I have tailwindcss install. I would imagine that everyone who's using typography would, as it's a plugin for that.

from tailwindcss-typography.

estevanmaito avatar estevanmaito commented on July 30, 2024

Could you create a reproduction repository?

from tailwindcss-typography.

redxtech avatar redxtech commented on July 30, 2024

Sorry for the late reply - you can see if happening in this repo here: https://github.com/redxtech/when-next

Some details:
Yarn version: berry
Node version: 14.7.0
Tailwindcss version: 1.6.2
Typography plugin version: 0.2.0

from tailwindcss-typography.

redxtech avatar redxtech commented on July 30, 2024

It looks like this could be fixed by merging the bugfix-lodash branch already existing on this repo.

from tailwindcss-typography.

jlgeering avatar jlgeering commented on July 30, 2024

same problem here - build fails when not using lodash

adding lodash to my project (yarn add -D lodash) changed it from a crash to a warning

from tailwindcss-typography.

jlgeering avatar jlgeering commented on July 30, 2024

created a PR from the existing branch: #65

from tailwindcss-typography.

whmountains avatar whmountains commented on July 30, 2024

Yarn v2 detects this and refuses to proceed.

Error: @tailwindcss/typography tried to access lodash, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

from tailwindcss-typography.

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.