This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Ошибка в React | |
(node:22848) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option. | |
(Use `node --trace-deprecation ...` to show where the warning was created) | |
(node:22848) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option. | |
решается так: | |
В файле: node_modules/react-scripts/config/webpackDevServer.config.js | |
НАЙТИ: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo -n "Enter Proxy Username: " | |
read PROXYUSER | |
echo -n "Enter Proxy Password: " | |
read PROXYPASS | |
echo -n "Enter Proxy Port (Default 9128): " | |
read PROXYPORT | |
DEFAULTNS=$(cat /etc/resolv.conf | gawk 'match($0, /nameserver\s([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)/, a) {print a[1]}') | |
echo -n "Enter nameserver from /etc/resolv.conf (Autodected $DEFAULTNS): " | |
read DNS |