Comments (3)
问题网站 | Website URL
https://waline2.netlify.app/ 这个是前面没有添加环境变量部署成功的网址,域名自动指定的
Question Website | Website URL
https://waline2.netlify.app/ This is the URL that was successfully deployed without adding environment variables before, and the domain name is automatically specified
from waline.
无法复现,把你所有的环境变量原封不动的 copy 过去部署了,https://walinejs.netlify.app/.netlify/functions/comment 。另外如果真的 Netlify Functions 限制在 50M 的话,那基本上使用 Netlify 部署 Waline 不太可能,Waline 打包后的体积肯定是要大于 50M 的。
10:05:35 PM: build-image version: 91488c6c0412f5c1c00fb34eff5c1fc41a32bce9 (focal)
10:05:35 PM: buildbot version: 91488c6c0412f5c1c00fb34eff5c1fc41a32bce9
10:05:35 PM: Fetching cached dependencies
10:05:35 PM: Starting to download cache of 111.0MB
10:05:36 PM: Finished downloading cache in 750ms
10:05:36 PM: Starting to extract cache
10:05:37 PM: Finished extracting cache in 1.039s
10:05:37 PM: Finished fetching cache in 1.842s
10:05:37 PM: Starting to prepare the repo for build
10:05:37 PM: Preparing Git Reference refs/heads/master
10:05:37 PM: Parsing package.json dependencies
10:05:38 PM: Different functions path detected, going to use the one specified in the Netlify configuration file: 'netlify/functions' versus '' in the Netlify UI
10:05:39 PM: Starting to install dependencies
10:05:39 PM: Python version set to 3.8
10:05:39 PM: Attempting Ruby version 2.7.2, read from environment
10:05:40 PM: Using Ruby version 2.7.2
10:05:40 PM: Started restoring cached go cache
10:05:40 PM: Finished restoring cached go cache
10:05:40 PM: Installing Go version 1.19.5 (requested 1.19.5)
10:05:45 PM: go version go1.19.5 linux/amd64
10:05:46 PM: Using PHP version 8.0
10:05:46 PM: Started restoring cached Node.js version
10:05:47 PM: Finished restoring cached Node.js version
10:05:47 PM: v16.20.0 is already installed.
10:05:48 PM: Now using node v16.20.0 (npm v8.19.4)
10:05:48 PM: Enabling Node.js Corepack
10:05:48 PM: Started restoring cached build plugins
10:05:48 PM: Finished restoring cached build plugins
10:05:48 PM: Started restoring cached corepack dependencies
10:05:48 PM: Finished restoring cached corepack dependencies
10:05:48 PM: No npm workspaces detected
10:05:48 PM: Started restoring cached node modules
10:05:48 PM: Finished restoring cached node modules
10:05:48 PM: Installing npm packages using npm version 8.19.4
10:05:52 PM: up to date, audited 550 packages in 4s
10:05:52 PM: 30 packages are looking for funding
10:05:52 PM: run `npm fund` for details
10:05:52 PM: 33 vulnerabilities (27 moderate, 6 high)
10:05:52 PM: To address issues that do not require attention, run:
10:05:52 PM: npm audit fix
10:05:52 PM: Some issues need review, and may require choosing
10:05:52 PM: a different dependency.
10:05:52 PM: Run `npm audit` for details.
10:05:52 PM: npm packages installed
10:05:53 PM: Install dependencies script success
10:05:53 PM: Starting build script
10:05:53 PM: Detected 0 framework(s)
10:05:53 PM: Section completed: initializing
10:05:55 PM:
10:05:55 PM: Netlify Build
10:05:55 PM: ────────────────────────────────────────────────────────────────
10:05:55 PM:
10:05:55 PM: ❯ Version
10:05:55 PM: @netlify/build 29.9.2
10:05:55 PM:
10:05:55 PM: ❯ Flags
10:05:55 PM: baseRelDir: true
10:05:55 PM: buildId: 643c00a46dc91448a836a445
10:05:55 PM: deployId: 643c00a46dc91448a836a447
10:05:55 PM:
10:05:55 PM: ❯ Current directory
10:05:55 PM: /opt/build/repo
10:05:55 PM:
10:05:55 PM: ❯ Config file
10:05:55 PM: /opt/build/repo/netlify.toml
10:05:55 PM:
10:05:55 PM: ❯ Context
10:05:55 PM: production
10:05:55 PM:
10:05:55 PM: 1. Functions bundling
10:05:55 PM: ────────────────────────────────────────────────────────────────
10:05:55 PM:
10:05:55 PM: Packaging Functions from netlify/functions directory:
10:05:55 PM: - comment.js
10:05:55 PM:
10:06:05 PM:
10:06:05 PM: (Functions bundling completed in 9.7s)
10:06:05 PM:
10:06:05 PM: 2. Deploy site
10:06:05 PM: ────────────────────────────────────────────────────────────────
10:06:05 PM:
10:06:05 PM: Starting to deploy site from '/'
10:06:05 PM: Calculating files to upload
10:06:05 PM: 0 new files to upload
10:06:05 PM: 1 new functions to upload
10:06:15 PM: Section completed: deploying
10:06:15 PM: Site deploy was successfully initiated
10:06:15 PM:
10:06:15 PM: Starting post processing
10:06:15 PM: (Deploy site completed in 10s)
10:06:15 PM:
10:06:15 PM: Netlify Build Complete
10:06:15 PM: ────────────────────────────────────────────────────────────────
10:06:15 PM: Post processing - HTML
10:06:15 PM:
10:06:15 PM: (Netlify Build completed in 19.8s)
10:06:15 PM: Post processing - header rules
10:06:15 PM: Caching artifacts
10:06:15 PM: Started saving node modules
10:06:15 PM: Post processing - redirect rules
10:06:15 PM: Finished saving node modules
10:06:15 PM: Started saving build plugins
10:06:15 PM: Finished saving build plugins
10:06:15 PM: Post processing done
10:06:15 PM: Started saving corepack cache
10:06:15 PM: Section completed: postprocessing
10:06:15 PM: Finished saving corepack cache
10:06:15 PM: Started saving pip cache
10:06:15 PM: Finished saving pip cache
10:06:15 PM: Started saving emacs cask dependencies
10:06:15 PM: Finished saving emacs cask dependencies
10:06:15 PM: Started saving maven dependencies
10:06:15 PM: Finished saving maven dependencies
10:06:15 PM: Started saving boot dependencies
10:06:15 PM: Finished saving boot dependencies
10:06:15 PM: Started saving rust rustup cache
10:06:15 PM: Finished saving rust rustup cache
10:06:15 PM: Started saving go dependencies
10:06:15 PM: Finished saving go dependencies
10:06:16 PM: Build script success
10:06:16 PM: Section completed: building
10:06:16 PM: Site is live ✨
10:06:17 PM: Uploading Cache of size 111.0MB
10:06:18 PM: Section completed: cleanup
10:06:18 PM: Finished processing build request in 42.726s
from waline.
在环境变量设置页面, Import from a .env file
,批量导入,测试几次,还是同样的报错。
Scopes 选择 All scopes
Deploy contexts 选择 All deploy contexts
把环境变量删除的只剩下 下面三个的时候,部署就可以成功
LEAN_ID=xxxxxxxxxxxxx-xxxx
LEAN_KEY=xxxxxxx
LEAN_MASTER_KEY=xxxxxxxxxxx
Deploys from github.com/appotry/netlify-starter 是fork的最新版
from waline.
Related Issues (20)
- [Bug]: Turnstile 报错? || [Bug]: Turnstile reported an error? HOT 1
- [Bug]: || [Bug]: HOT 1
- [Bug]: 评论插件显示空白 || [Bug]: The comment plugin is blank HOT 1
- [Bug]: 从 mongodb 迁移到 mysql, 评论时间显示为导入的时间 || [Bug]: Migrate from mongodb to mysql, the comment time is displayed as the imported time
- [Bug]: 回复评论时没有@对方 || [Bug]: There is no @友友 when replying to comments HOT 2
- [Bug]: 邮箱格式检测问题 || [Bug]: Email format detection problem HOT 2
- Deta 部署无法注册Waline || Deta deployment cannot register Waline HOT 3
- [Feature]: 评论框中的网址栏目可以关闭吗? HOT 1
- [Feature]: 使用 reCAPTCHA 和 Cloudflare Turnstile 时自动通过评论审核 || [Feature]: Automatically pass comment moderation when using reCAPTCHA and Cloudflare Turnstile HOT 1
- [Bug]: 评论获取有post和get报错 || [Bug]: There are post and get errors in comment acquisition HOT 2
- [Bug]: Auto publish is not working HOT 1
- [Feature]: 提供 Event 监听触发 HOT 5
- [Bug]: forbidden HOT 4
- [Bug]: vercel 部署1.31 新版本报错 || [Bug]: vercel deployment 1.31 new version reports an error HOT 1
- [Bug]: 无法发表评论,报错提示 Load failed || [Bug]: Unable to comment, error message Load failed HOT 3
- [Bug]: 邮箱无法发送,无法登录 || [Bug]: The mailbox cannot be sent and cannot be logged in HOT 7
- [Bug]: 从博客首页访问文章后页面滚动条并不是在最顶部,去除底部评论插件Waline后发现正常。 || [Bug]: After accessing the article from the blog homepage, the page scroll bar is not at the top. After removing the bottom comment plug-in Waline, it is found to be normal. HOT 4
- [Bug]: 发布评论提示"undefined [404 GET www.yuanning0818.tk/1.1/classes/Comment]" || [Bug]: Publish comment prompt "undefined [404 GET www.yuanning0818.tk/1.1/classes/Comment]" HOT 1
- [Feature]: 是否能自定义图床 || [Feature]: Can you customize the picture bed HOT 2
- [Feature]: 单一部署支持多个域名或项目 || [Feature]: Single deployment supports multiple domain names or projects HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from waline.