serverless-side-rendering-vue-nuxt icon indicating copy to clipboard operation
serverless-side-rendering-vue-nuxt copied to clipboard

Mistake in tutorial (deploy with domain manager plugin active)

Open ffxsam opened this issue 5 years ago • 0 comments

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?

ffxsam avatar Jan 19 '19 18:01 ffxsam