Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/firebase/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在firebase主机上部署了我的Next.JS应用程序,但在firebase控制台中没有看到任何功能_Firebase_Google Cloud Functions_Next.js_Firebase Hosting - Fatal编程技术网

在firebase主机上部署了我的Next.JS应用程序,但在firebase控制台中没有看到任何功能

在firebase主机上部署了我的Next.JS应用程序,但在firebase控制台中没有看到任何功能,firebase,google-cloud-functions,next.js,firebase-hosting,Firebase,Google Cloud Functions,Next.js,Firebase Hosting,我按照本教程将Next.JS应用程序部署到firebase: 我的部署脚本的输出结果如下: i deploying functions, hosting i functions: ensuring required API cloudfunctions.googleapis.com is enabled... i functions: ensuring required API cloudbuild.googleapis.com is enabled... ✔ functions: r

我按照本教程将Next.JS应用程序部署到firebase:

我的部署脚本的输出结果如下:

i  deploying functions, hosting
i  functions: ensuring required API cloudfunctions.googleapis.com is enabled...
i  functions: ensuring required API cloudbuild.googleapis.com is enabled...
✔  functions: required API cloudbuild.googleapis.com is enabled
✔  functions: required API cloudfunctions.googleapis.com is enabled
i  functions: preparing . directory for uploading...
i  hosting[hacks-life]: beginning deploy...
i  hosting[hacks-life]: found 5 files in public
✔  hosting[hacks-life]: file upload complete
i  hosting[hacks-life]: finalizing version...
✔  hosting[hacks-life]: version finalized
i  hosting[hacks-life]: releasing new version...
✔  hosting[hacks-life]: release complete

✔  Deploy complete!
因此,当我转到托管url时,我会看到:

错误:禁止您的客户端没有获取URL的权限 /此服务器上的nextjs server/

所以我在想,也许我的函数没有被部署是有问题的,尽管它似乎来自脚本输出。
有什么想法吗?

你希望发生什么?我们看不到您试图部署什么,因此无法解释此处发生的情况。请将问题编辑得更清楚。@strangeQuirks你解决了这个问题吗?我也面临着同样的问题。不知何故,是的,但我记不清了,我想这是firebase认证。你认为会发生什么?我们看不到您试图部署什么,因此无法解释此处发生的情况。请将问题编辑得更清楚。@strangeQuirks你解决了这个问题吗?我也面临着同样的问题。不知怎么的,是的,但我记不清了,我想这是firebase认证