Open FezVrasta opened 1 week ago
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 (
Description
I'm using Yarn and using
yarn patch
to patch packages, but your postinstall script keeps addingpatch-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