tiddly-gittly / TidGi-Desktop

TidGi is an privacy-in-mind, automated, auto-git-backup, freely-deployed knowledge management Desktop note app, based on Tiddlywiki, with REST API for web-clipping and Anki connect. 「 太记 」是一个基于「 太微 TiddlyWiki 」的知识管理桌面应用,能保护隐私内容、高级自动化、自动Git云备份、部署为博客,且可通过RESTAPI与Anki等应用连接。(迭代开发中欢迎试用,开发进度见下方链接)(Under active development, see website below for details)
https://tidgi.fun
Mozilla Public License 2.0
1.71k stars 106 forks source link

bug: Error executing boot module $:/plugins/linonetwo/tw-react/example.js: #459

Closed dongrentianyu closed 1 year ago

dongrentianyu commented 1 year ago

Environment 环境信息

Version v0.8.1-prerelease6

Electron Version: 25.2.0 Node Version: 18.15.0 Chromium Version: 114.0.5735.134

Description 描述

Unhandled Promise Rejection Error: Error executing boot module $:/plugins/linonetwo/tw-react/example.js: {"code":"MODULE_NOT_FOUND","requireStack":["C://Users//34656//AppData//Local//tidgi//app-0.8.1-prerelease6//resources//node_modules//@tiddlygit//tiddlywiki//boot//boot.js","C://Users//34656//AppData//Local//tidgi//app-0.8.1-prerelease6//resources//app.asar.unpacked//.webpack//main//543.index.worker.js"]} Error: Cannot find module 'react' Require stack:

Steps to Reproduce 复现方式

检查之后发现是因为meta文件导致的。我删除了tw-react的meta文件之后就能正常启动了。但奇怪的是,目前只发现这一个wiki有这样的问题,其他的wiki并没有出现这样的问题。

Additional Context 额外上下文

TidGi-2023-07-27.log

看样子是tw-react插件出了问题,但昨天用的还好好的。而且也没更新这个插件。不知道为什么出了问题。

linonetwo commented 1 year ago

没事,知道修复方法就好了,这也是玄学

linonetwo commented 1 year ago

反正发在这里让之后的人能搜到就行了