netlify 相关问题

询问有关Netlify设置,配置的问题,或者只是一般使用netlify-cli或在app.netlify.com上在线

我如何为我的条纹集成编写lambda功能?

Background:我将我们的销售页面迁移到使用gatsby-> Netlify的无服务器CDN,并且正在尝试实现条纹自定义的支付流,因为我们想自定义我们的结帐表...

回答 1 投票 0

如果我为前端使用第三方服务,我如何部署我的RASA Chatbot后端 我通过Netlify部署了我的Rasa Chatbot的前端。前端有效,但机器人没有响应。现在我不知道如何部署机器人的后端。 我尝试了一些后端部署服务...

Collecting en_core_web_md@ https://github.com/explosion/spacy-models/releases/download/en_core_web_md-3.8.0/en_core_web_md-3.8.0-py3-none-any.whl#sha256=5e6329fe3fecedb1d1a02c3ea2172ee0fede6cea6e4aefb6a02d832dba78a310 Downloading https://github.com/explosion/spacy-models/releases/download/en_core_web_md-3.8.0/en_core_web_md-3.8.0-py3-none-any.whl (33.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 33.5/33.5 MB 244.4 MB/s eta 0:00:00 Collecting absl-py==1.4.0 Downloading absl_py-1.4.0-py3-none-any.whl (126 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 126.5/126.5 kB 7.1 MB/s eta 0:00:00 Collecting aio-pika==8.2.3 Downloading aio_pika-8.2.3-py3-none-any.whl (49 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.0/50.0 kB 2.6 MB/s eta 0:00:00 Collecting aiofiles==24.1.0 Downloading aiofiles-24.1.0-py3-none-any.whl (15 kB) Collecting aioflask==0.4.0 Downloading aioflask-0.4.0-py3-none-any.whl (14 kB) Collecting aiogram==2.15 Downloading aiogram-2.15-py3-none-any.whl (184 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 184.2/184.2 kB 10.9 MB/s eta 0:00:00 Collecting aiohttp==3.9.5 Downloading aiohttp-3.9.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 85.7 MB/s eta 0:00:00 Collecting aiohttp-retry==2.9.1 Downloading aiohttp_retry-2.9.1-py3-none-any.whl (10.0 kB) Collecting aiormq==6.4.2 Downloading aiormq-6.4.2-py3-none-any.whl (34 kB) ERROR: Ignored the following versions that require a different python version: 1.3.2 Requires-Python >=3.9; 3.11.0 Requires-Python >=3.9; 3.11.0b0 Requires-Python >=3.9; 3.11.0b1 Requires-Python >=3.9; 3.11.0b2 Requires-Python >=3.9; 3.11.0b3 Requires-Python >=3.9; 3.11.0b4 Requires-Python >=3.9; 3.11.0b5 Requires-Python >=3.9; 3.11.0rc0 Requires-Python >=3.9; 3.11.0rc1 Requires-Python >=3.9; 3.11.0rc2 Requires-Python >=3.9; 3.11.1 Requires-Python >=3.9; 3.11.10 Requires-Python >=3.9; 3.11.11 Requires-Python >=3.9; 3.11.2 Requires-Python >=3.9; 3.11.3 Requires-Python >=3.9; 3.11.4 Requires-Python >=3.9; 3.11.5 Requires-Python >=3.9; 3.11.6 Requires-Python >=3.9; 3.11.7 Requires-Python >=3.9; 3.11.8 Requires-Python >=3.9; 3.11.9 Requires-Python >=3.9; 3.14.0 Requires-Python >=3.9; 3.15.0 Requires-Python >=3.9; 3.16.0 Requires-Python >=3.9; 3.17.0 Requires-Python >=3.9; 9.5.3 Requires-Python <4.0,>=3.9; 9.5.4 Requires-Python <4.0,>=3.9 ERROR: Could not find a version that satisfies the requirement aiosignal==1.3.2 (from versions: 1.0.0a0, 1.0.0, 1.1.0, 1.1.1, 1.1.2, 1.2.0a0, 1.2.0, 1.3.1) ERROR: No matching distribution found for aiosignal==1.3.2 [notice] A new release of pip is available: 23.0.1 -> 25.0 [notice] To update, run: pip install --upgrade pip ✕ [4/4] RUN pip install --no-cache-dir -r requirements.txt process "/bin/sh -c pip install --no-cache-dir -r requirements.txt" did not complete successfully: exit code: 1 Dockerfile:11 ------------------- 9 | 10 | # Install dependencies 11 | >>> RUN pip install --no-cache-dir -r requirements.txt 12 | 13 | # Expose Rasa's default API port ------------------- ERROR: failed to solve: process "/bin/sh -c pip install --no-cache-dir -r requirements.txt" did not complete successfully: exit code: 1

回答 0 投票 0






部署nextJS应用程序以netLify

为您提供一些我目前正在部署应用程序进行NetLify的上下文。 这是我第一次部署NextJS应用程序,我似乎有问题。 我通常会用常规的rea做什么...

回答 1 投票 0

如何保护公共角度客户端中网关连接的不和谐机器人令牌?

我最近玩了一下Discord网关,现在我想在我的个人网站上打开一个网关连接,以便在我打开我的

回答 1 投票 0

如何在静态站点博客中包含管理区域

我为我的母亲建立了一个简单的 Hugo 博客,并使用 Forestry.io + Github + Netlify 组合托管它。 Forestry 提供了一个很好的所见即所得编辑器来编写她的博客,netlify hooks 会生成

回答 1 投票 0

我正在本地端口上获取数据:9999 节点应用程序,但在 netlify 上运行相同的应用程序时遇到 502 错误

{“errorType”:“Runtime.UnhandledPromiseRejection”,“errorMessage”:“MongooseError:操作`users.find()`缓冲在10000ms后超时”,“trace”...

回答 1 投票 0

如何在 Netlify 上部署 Node.js?

运行 netlify dev 命令时,找不到 user/routes.js 中的端点(测试和创建)(404)。所以我无法在生产中部署。 |---.git |---.gitignore |---源代码 | |---用户 | | |---

回答 1 投票 0

如何将一个网站的子目录指向另一个网站的域?

我有一个网站,我们称之为 blog.netlify.app,它是使用 netlify (SolidJS) 部署的。 我在 example.com 上还有另一个网站,它是使用 GitHub Pages 部署的静态 HTML 页面。 不...

回答 1 投票 0

如何修复 next.js 错误:错误:> 由于 webpack 错误而构建失败

我正在尝试将 next.js 应用程序部署到 netlify 并尝试获取输出文件夹,但是当我运行“npm run build”时,我收到如下错误: 错误:> 由于 webpack 错误而构建失败 在...

回答 4 投票 0

CORS 错误:预检请求(选项)失败

我正在使用 Express 和 Netlify 函数为 Chrome 扩展程序开发翻译 API。但是,我在从浏览器发出请求时遇到了 CORS 问题。飞行前选项

回答 1 投票 0

无法使用express和Netlify代理重定向为子域设置cookie

我在部署的应用程序上没有看到成功身份验证的回调上的 set-cookie,而我在本地取得了成功(已验证的会话创建、身份验证成功、withCredentials 等)。 我的 Node.js

回答 1 投票 0

如何在 Netlify 中构建/部署 Node.js Express?没有404错误

我在后端使用node.js +express开发了一个url缩短器,并在前端做出反应。 在本地它工作正常,但是当在 Netlify 上构建时,项目返回错误 404 并且不会...

回答 2 投票 0

如何在netlify上运行php文件?

我建立了一个有表单的网站。联系表单在提交时重定向至 contact.php。由于某种原因,每当我提交时,它都会说找不到页面。 索引.html ... 我建立了一个有表单的网站。联系表单在提交时重定向至 contact.php。由于某种原因,每当我提交时,它都会说找不到页面。 index.html ... <form action="contact.php" method="post" enctype="text/plain"> Name:<br> <input type="text" name="name" class="form-control" required><br> E-mail:<br> <input type="email" name="mail" class="form-control" required><br> Message:<br> <input type="text" name="comment" size="50" class="form-control" required><br><br> <button type="submit" value="Send"> Send Message </button> </form> ... contact.php <?php if($isset($_POST['submit'])) { $name = $_POST['name']; $mailFrom = $_POST['mail']; $message = $_POST['comment']; $mailTo = "[email protected]"; $headers = "From: ".$mailFrom; mail($mailTo, $name, $message, $headers); header("Location: index.html"); } ?> 我添加了一个 build.sh 文件,其中包含: #!/bin/bash php contact.php 我还在构建命令中添加了./build.sh。我感觉我的剧本有问题。请建议我解决此问题的替代方案。 Netlify 站点部署到 CDN 并提供静态内容,尽管您可以在部署时运行 PHP,但您不能在页面请求期间执行 PHP。 要提交表单,您可以使用 Netlify Forms 或其他一些无服务器表单解决方案。 我建议使用 InfinityFree 免费托管 PHP 网站。或者,如果您的需要只是发送电子邮件表单,其余的是静态页面,那么我推荐 emailjs,它可以让您免费发送电子邮件。这样您就可以在 netlify 或 vercel 中部署您的网站 转到 Netlify 帐户中的站点链接。 选择您想要添加表单的正确网站。 然后转到您的表格链接。 在此窗口中启用表单,然后文档会向您提供有关如何添加到代码中以使表单正常工作的说明。 表单 管理表单和提交内容,无需任何服务器端代码或 JavaScript。 使用 netlify 属性将 HTML 表单添加到您的网站 标签,启用表单检测,您将自动收到表单 Netlify 仪表板中的提交内容。 Netlify 解析 HTML 表单 直接在部署时进行,因此无需进行 API 调用或 在您的网站上包含额外的 JavaScript。 您可以使用 000webhost.com 托管来上传您的 php 项目。

回答 4 投票 0

秘密环境变量破坏了 Netlify 上的 NextJS 构建

我在 Netlify 上构建的 NextJS 由于秘密环境变量而失败。 我的应用程序与 Spotify API 交互。我需要为 Spotify 和 NextAuth 设置机密。 这些变量是在

回答 1 投票 0

有人知道如何在 Strapi 5 中使用生命周期钩子吗?

我没有找到 Strapi 5 中解释这一点的文档,所以我不知道它自 Strapi 4 以来是否发生了变化。 代码路径:src/api/post/content-types/post/lifecycle.js const axios = require('a...

回答 1 投票 0

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.