Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please don't mutate package.json #2577

Open
FezVrasta opened this issue Nov 8, 2024 · 1 comment
Open

Please don't mutate package.json #2577

FezVrasta opened this issue Nov 8, 2024 · 1 comment
Assignees

Comments

@FezVrasta
Copy link
Contributor

Description

I'm using Yarn and using yarn patch to patch packages, but your postinstall script keeps adding patch-package to my scripts.

Problem Statement

Please don't mutate the package.json, or at least provide a way to disable this behavior.

Proposed Solution or API

Just ask users to edit it manually.

Alternatives

No response

Additional Information

No response

@DennisHesler
Copy link

My app is not working after modifying package.json

I changed my babel and webpack configuration and managed to launch the app, but not all the components work, eg the menu:

MenuItem.tsx:62 Uncaught TypeError: Cannot read properties of undefined (reading 'children') at MenuItem (MenuItem.tsx:62:11) at renderWithHooks (react-dom.development.js:16305:1) at mountIndeterminateComponent (react-dom.development.js:20074:1) at beginWork (react-dom.development.js:21587:1) at beginWork$1 (react-dom.development.js:27426:1) at performUnitOfWork (react-dom.development.js:26557:1) at workLoopSync (react-dom.development.js:26466:1) at renderRootSync (react-dom.development.js:26434:1) at recoverFromConcurrentError (react-dom.development.js:25850:1) at performSyncWorkOnRoot (

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

3 participants