Comments (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 react.dev.
Related Issues (20)
- [Suggestion]: Add `isPending` example to `useActionState` docs HOT 1
- [Bug]: Error Boundaries Caveats are not added in the new docs
- [Bug]: Code editor not displaying code when scrolling
- [Typo]: In Sharing State Between Components HOT 2
- [Typo]: Spelling Mistake in Resource and Metadata Components
- [Suggestion]: Adding a Scroll-To-top Button .
- .
- Link to React 16 documentation (https://16.react.dev/) is redirecting to React 17 documentation. HOT 3
- Some recommended alternatives to useEffect are less declarative and concise
- useState
- not open the page
- Error in section "What happens if you replace state after updating it" explanation of code execution HOT 5
- [Mistake]: React 19 says that startTransition callback must be synchronous. It is not true. HOT 1
- React Fiber documentation not present in the current Docs
- [Bug]: ERR_SSL_PROTOCOL_ERROR on Translations Page
- [Suggestion]: Update the starter code in sandbox of Tic tac toe game tutorial
- [Suggestion]: Improve code in Tic-Tac-Toe demo HOT 3
- [Suggestion]: How to avoid null checks when initializing useRef later
- Doc not found: https://react.dev/contributing/design-principles.html
- [Bug]: No Mention of RFCs (or ANY Way to Provide Feedback) on Site HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react.dev.