Closed rajkumarks7 closed 3 years ago
The config.json is generated by the first stack and contains the url to the API Gateway. Before running npm start please run the next comands cd react-ssr-lambda
cd ./cdk
npm install
npm run build
cdk bootstrap
cdk deploy SSRApiStack --outputs-file ../simple-ssr/src/config.json
when i run the npm start inside the simple-ssr Module not found: Can't resolve './config.json'