Giter VIP home page Giter VIP logo

Comments (1)

bvaughn avatar bvaughn commented on April 19, 2024 1

Sure! Yarn has a command why for just this reason:

$ yarn why isarray
Using globally installed version of Yarn
yarn why v1.0.0
[1/4] 🤔  Why do we have the module "isarray"...?
[2/4] 🚚  Initialising dependency graph...
[3/4] 🔍  Finding dependency...
[4/4] 🚡  Calculating file sizes...
info Has been hoisted to "isarray"
info Reasons this module exists
   - "eslint#doctrine" depends on it
   - "eslint#concat-stream#readable-stream" depends on it
   - "gatsby#yurnalist#markdown-toc#object.pick#isobject" depends on it
info Disk size without dependencies: "32kB"
info Disk size with unique dependencies: "32kB"
info Disk size with transitive dependencies: "32kB"
info Number of shared dependencies: 0
✨  Done in 0.86s.

I don't think we need an open issue for this since it's just a local, dev-warning and it won't harm anything unless we choose to upgrade our yarn.lock file in the future. But I'd be happy to accept a PR if you're able to chase down the fix upstream. 😄

You could try running yarn upgrade-interactive to see if it resolves the issue. After doing so though I'd be sure everything builds correctly from scratch:

rm -rf node_modules
rm -rf .cache
yarn install # Fresh install
yarn build # Make sure Gatsby can create a production build
cd public # Production build goes here
serve # Make sure production build works at localhost:5000
yarn dev # Make Gatsby's dev mode works at localhost:8000

from reactjs.org.

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.