Hey there,
that has to do with the fact that the preview function deploys to the preview environment, because the app has online services disabled, the environments are not used and therefor the preview can not be used. It might be possible to run locally instead of using the preview.
You can of course always run your application locally to check the ui and functionality.
If you have any more questions, do feel free to send them :)