PicGo+typora上传图片出现404 - {“message“:“Not Found Project“}

前言

学习Typora这一篇就够了
通过这篇文章的学习,学会了如何使用PicGo+Gitee+typora实现高效写作。

  • Typora:它是一款轻便简洁的Markdown编辑器,支持即时渲染技术,即所写立刻所见,少了排版的时间,专注于文章内容的编辑。
  • PicGo:它是一个用于快速上传图片并获取图片 URL 链接的工具,支持多种图库,但是它的功能远远不止于此。
  • Gitee:目前中国最大的代码托管的工具,实际上,除了代码,它还支持图片存储。
  • Snipaste:如果你平时都在用QQ截图,我只能告诉你,你落伍了,Snipaste才是你最好的选择,用它截取的图片不仅质量高,同时,文件大小远远小于QQ截图,只有高质量低文件大小的图片,才能保证你在各大平台上传文章的时候,保证图片不会因为过大而导致的转存失败。

通过以上的了解总结出:

  • 使用typora来写笔记,简单优雅。
  • 使用Gitee创建仓库作为图床便于存储图片。
  • 使用PicGo图床工具便于将图片上传到图床上。

使用以上工具实现一次编写,跨博客网站发布,再也不用担心图片的存放问题以及在上传过程中出现的图片转存失败的问题,所有的文章最终只需要保存一个.md文件就可以了。

错误

上面文章详细阐述了如何使用各个工具,但是在我实践的过程中出现了一个错误。typora的偏好设置中上传服务设定好之后,在验证图片上传选项时出现错误如下。
在这里插入图片描述
查看PicGo的错误日志:

------Error Stack Begin------
StatusCodeError: 404 - {"message":"Not Found Project"}
    at new StatusCodeError (D:\toolsoft\PicGo\resources\app.asar\node_modules\request-promise-core\lib\errors.js:32:15)
    at Request.plumbing.callback (D:\toolsoft\PicGo\resources\app.asar\node_modules\request-promise-core\lib\plumbing.js:104:33)
    at Request.RP$callback [as _callback] (D:\toolsoft\PicGo\resources\app.asar\node_modules\request-promise-core\lib\plumbing.js:46:31)
    at Request.self.callback (D:\toolsoft\PicGo\resources\app.asar\node_modules\request\request.js:185:22)
    at Request.emit (events.js:200:13)
    at Request.<anonymous> (D:\toolsoft\PicGo\resources\app.asar\node_modules\request\request.js:1161:10)
    at Request.emit (events.js:200:13)
    at IncomingMessage.<anonymous> (D:\toolsoft\PicGo\resources\app.asar\node_modules\request\request.js:1083:12)
    at Object.onceWrapper (events.js:288:20)
    at IncomingMessage.emit (events.js:205:15)
-------Error Stack End------- 

解决

404没有发现项目,显然是没能连接到Gitee仓库。查阅很多篇文章都是说要将PicGo上gitee图床的repo填写上Gitee的仓库名称。这里需要着重注意仓库名称!

错误的gitee设置
在这里插入图片描述
正确的
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210203145523281.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzQwOTQ5NDY1,size_16,color_FFFFFF,t_7
打开typora的偏好设置中的图像,点击 “验证图片上传选项” ,成功就会显示获取成功
在这里插入图片描述

  • 22
    点赞
  • 14
    收藏
    觉得还不错? 一键收藏
  • 12
    评论
This error message suggests that the Maven compiler plugin is not installed or cannot be found in your local Maven repository or remote repository. To resolve this issue, you can try the following steps: 1. Check if the plugin is specified in your project's pom.xml file. Ensure that the plugin is correctly configured and its version is specified. 2. Check if your Maven settings.xml file is correctly configured to access the remote repository where the plugin is hosted. Ensure that the repository URL, authentication credentials, and proxy settings are correct. 3. Try to manually install the plugin to your local repository by running the following command in your project directory: `mvn install:install-file -Dfile=<path-to-plugin-jar> -DgroupId=<plugin-groupId> -DartifactId=<plugin-artifactId> -Dversion=<plugin-version> -Dpackaging=<plugin-packaging>` Replace the placeholders with the actual values for the plugin you want to install. 4. If the plugin is not hosted in any remote repository, you can include the plugin jar file in your project's lib directory and add the following configuration to your pom.xml file: ``` <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${compiler.plugin.version}</version> <configuration> <compilerArguments> <endorseddirs>${endorsed.dir}</endorseddirs> </compilerArguments> </configuration> <dependencies> <dependency> <groupId>com.sun</groupId> <artifactId>tools</artifactId> <version>${tools.jar.version}</version> <scope>system</scope> <systemPath>${java.home}/../lib/tools.jar</systemPath> </dependency> </dependencies> </plugin> </plugins> </build> ``` Replace the placeholders with the actual values for the plugin version and the tools.jar version.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 12
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值