Hi, you need to make sure to provision the Portal in the target environment first.
Also I would recommend creating your solution with just your components instead of exporting / importing the Default solution. This is usually a very heavy solution as it contains all components, creating your one will make your release process more controlled and faster.
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.