This file contains hidden or 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
| fork/clone master branch: git@github.com:ctrlplusb/react-universally.git | |
| cd [your-repo] | |
| yarn install | |
| edit config/index.js | |
| change line 23: | |
| port: getIntEnvVar('SERVER_PORT', 1337), | |
| to: |
This file contains hidden or 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
| //Use within same directory as node_modules | |
| mv node_modules/babel-runtime node_modules/babel-runtime-bak | |
| git clone git@github.com:loganfsmyth/babel.git node_modules/babel-patch | |
| cd node_modules/babel-patch | |
| git checkout runtime-typeof-error-T6644 | |
| npm install | |
| make | |
| make build-dist | |
| cd ../../ | |
| cp -r node_modules/babel-patch/packages/babel-runtime node_modules/babel-runtime |