摘要: 参考文档 mongodb Mongoose 问题1. 不支持preferredcms_db_name、cms_db_collection选项 throw new error_1.MongoParseError(`${optionWord} ${Array.from(unsupportedOption 阅读全文
posted @ 2023-09-14 01:49 糖~豆豆 阅读(788) 评论(0) 推荐(0)
摘要: 运行老项目遇到如下报错 PS C:\Users\demo02> yarn install yarn install v1.22.19 info No lockfile found. [1/5] Validating package.json... [2/5] Resolving packages.. 阅读全文
posted @ 2023-09-14 01:42 糖~豆豆 阅读(608) 评论(0) 推荐(0)
摘要: 1. 如何使用nodejs编写接口实现前端302重定向? Url重定向分为301、302两种HTTP状态的编码。 301重定向是永久的重定向,表示本网页永久性转移到另一个地址,搜索引擎在抓取新内容的同时也将旧的网址替换为重定向之后的网址。 302是临时的重定向,表示本网页暂时性转移到另一个地址,搜索 阅读全文
posted @ 2023-09-14 01:35 糖~豆豆 阅读(374) 评论(0) 推荐(0)
摘要: 1. Failed to load SWC binary for linux/x64, see more info here: https://nextjs.org/docs/messages/failed-loading-swc 今天部署项目遇到下面报错Attempted to load @nex 阅读全文
posted @ 2023-09-14 01:32 糖~豆豆 阅读(987) 评论(0) 推荐(1)
摘要: 如何添加cros 插件使用文档 import cors from "@fastify/cors"; fastify.register(cors, (instance) => { return (req, callback) => { const hostIp = getClientIp(req); 阅读全文
posted @ 2023-09-14 01:26 糖~豆豆 阅读(223) 评论(0) 推荐(0)
摘要: 1. windows运行docker报错Windows Hypervisor is not presentDocker Desktop is unable to detect a Hypervisor.Hardware assisted virtualization and data executi 阅读全文
posted @ 2023-09-14 01:20 糖~豆豆 阅读(522) 评论(0) 推荐(1)
Live2D