File tree 1 file changed +6
-0
lines changed
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"
165
165
166
166
# Link to our preset
167
167
npm 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
168
171
169
172
# Link to test module
170
173
npm link " $temp_module_path /node_modules/test-integrity"
@@ -220,13 +223,16 @@ E2E_FILE=./build/index.html \
220
223
221
224
# Unlink our preset
222
225
npm unlink " $root_path " /packages/babel-preset-react-app
226
+ # Unlink error overlay
227
+ npm unlink " $root_path " /packages/react-error-overlay
223
228
224
229
# Eject...
225
230
echo yes | npm run eject
226
231
227
232
# ...but still link to the local packages
228
233
npm link " $root_path " /packages/babel-preset-react-app
229
234
npm link " $root_path " /packages/eslint-config-react-app
235
+ npm link " $root_path " /packages/react-error-overlay
230
236
npm link " $root_path " /packages/react-dev-utils
231
237
npm link " $root_path " /packages/react-scripts
232
238
You can’t perform that action at this time.
0 commit comments