File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,9 @@ cd "$temp_app_path/test-kitchensink"
165165
166166# Link to our preset
167167npm link " $root_path " /packages/babel-preset-react-app
168+ # Link to error overlay package because now it's a dependency
169+ # of react-dev-utils and not react-scripts
170+ npm link " $root_path " /packages/react-error-overlay
168171
169172# Link to test module
170173npm link " $temp_module_path /node_modules/test-integrity"
@@ -220,13 +223,16 @@ E2E_FILE=./build/index.html \
220223
221224# Unlink our preset
222225npm unlink " $root_path " /packages/babel-preset-react-app
226+ # Unlink error overlay
227+ npm unlink " $root_path " /packages/react-error-overlay
223228
224229# Eject...
225230echo yes | npm run eject
226231
227232# ...but still link to the local packages
228233npm link " $root_path " /packages/babel-preset-react-app
229234npm link " $root_path " /packages/eslint-config-react-app
235+ npm link " $root_path " /packages/react-error-overlay
230236npm link " $root_path " /packages/react-dev-utils
231237npm link " $root_path " /packages/react-scripts
232238
You can’t perform that action at this time.
0 commit comments