serverless-side-rendering-vue-nuxt
serverless-side-rendering-vue-nuxt copied to clipboard
Mistake in tutorial (deploy with domain manager plugin active)
Towards the end when it's time to deploy, it suggests running npm run deploy
and says:
You'll see the terminal return some output with the endpoint for your app. But, there's one more thing for us to do. We need to add the domain. We've already added the configuration in the serverless.yml but there's one more command we need to run.
This isn't true though. The deployment throws an error since the domain hasn't been created:
Error --------------------------------------------------
Error: Could not set up basepath mapping. Try running sls create_domain first.
Error: Error: 'vue-ssr.your-domain.com' could not be found in API Gateway.
NotFoundException: Invalid domain name identifier specified
Maybe the tutorial should suggest commenting out the domain manager plugin in serverless.yml
initially?