Using a netlify-cms
create-react-app example: GitHub - ADARTA/netlify-cms-react-example: NetlifyCMS bootstrapped from create-react-app using netlify-cms-proxy-server in development
Error:
time="2019-04-09T14:25:57-07:00" level=info msg="Reconnecting to tunnel server"
time="2019-04-09T14:26:12-07:00" level=info msg="finished client unary call" error="rpc error: code = Unknown desc = Unknown session" grpc.code=Unknown grpc.method=Register grpc.service=tunnel.Tunnel grpc.time_ms=56.767 span.kind=client system=grpctime="2019-04-09T14:26:12-07:00" level=fatal msg="can not register client" error="rpc error: code = Unknown desc = Unknown session"
Leaves the server spawns running also, so the next time running the command the ports are already in use.
To use
- fork/clone the repo
- yarn
- netlify dev --live
I don’t expect everything to run on this live tunnel because the netlify-cms-backend-fs
is going to be served at the localhost:3000/api
endpoint, but thought it would be good to let the devs take a look at it. When the react-scripts build
command runs, the setupProxy.js
configuration is applied for the devServer in webpack.
System
- windows 10
- node 8.12.0
- npm 6.5.0
- windows powershell (not bash)
Great job on netlify dev
everyone!