Skip to content

Update enzyme and remove enzyme-context-patch#15

Open
didoesdigital wants to merge 1 commit intoAlmeroSteyn:masterfrom
didoesdigital:remove-enzyme-context-patch
Open

Update enzyme and remove enzyme-context-patch#15
didoesdigital wants to merge 1 commit intoAlmeroSteyn:masterfrom
didoesdigital:remove-enzyme-context-patch

Conversation

@didoesdigital
Copy link
Copy Markdown

https://www.npmjs.com/package/enzyme-context-patch points to a merged PR
showing it is no longer needed. This fixes the build.

Before this fix, I was getting this error when I ran yarn install:

error /Users/di/projects/github/react-aria-live/node_modules/enzyme-context-patch: Command failed.
Exit code: 1
Command: echo 'Patching from postinstall.' && bin/patch-enzyme.sh
Arguments:
Directory: /Users/di/projects/github/react-aria-live/node_modules/enzyme-context-patch
Output:
Patching from postinstall.
Patching enzyme dependency for Context fix
patching file node_modules/enzyme-adapter-react-16/build/ReactSixteenAdapter.js
Hunk #1 FAILED at 56.
Hunk #2 FAILED at 114.
Hunk #3 FAILED at 145.
3 out of 3 hunks FAILED -- saving rejects to file node_modules/enzyme-adapter-react-16/build/ReactSixteenAdapter.js.rej
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

https://www.npmjs.com/package/enzyme-context-patch points to a merged PR
showing it is no longer needed. This fixes the build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant