Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

历史配置遗留导致按照文档配置之后,还是不能发布,插件报错 TypeError: Cannot set properties of undefined (setting 'knowledgeSpaceReadonlyModeTip') #972

Open
ethan1010 opened this issue Jan 7, 2024 · 6 comments
Labels
development-plan enhancement New feature or request question Further information is requested

Comments

@ethan1010
Copy link

中间隔了好几个月

尝试好几次,每次都尝试了好几个发布途径。主要想搞定简书,一直不行。。尝试notion、博客园也不行。。

让我产生的非常深的怀疑。

看配置不复杂,但为啥就是不行。。

@terwer
Copy link
Owner

terwer commented Jan 7, 2024 via email

@terwer terwer added the question Further information is requested label Jan 7, 2024
@terwer
Copy link
Owner

terwer commented Jan 7, 2024

请提供详细环境、报错信息、操作步骤等有用信息,感谢你的呢反馈。

@terwer terwer closed this as completed Jan 7, 2024
@ethan1010
Copy link
Author

ethan1010 commented Jan 10, 2024

win下,思源最新版本
删除插件,关闭思源,重新安装插件,选择简书登录成功,点击验证报错:作失败=>TypeError: Cannot set properties of undefined (setting 'knowledgeSpaceReadonlyModeTip')

@terwer
Copy link
Owner

terwer commented Jan 10, 2024 via email

@ethan1010
Copy link
Author

ethan1010 commented Jan 11, 2024

终于可以了,多谢

建议优化一下:

  1. 在产品页面中添加对应的说明,我在几个月内尝试,看使用文档都没有找到对应的解决方法。
  2. 安装新版本的时候,老的配置文件转为新的配置文件。 这样就不会有问题了。

@ethan1010 ethan1010 changed the title 这个插件能正常work吗? 插件报错 TypeError: Cannot set properties of undefined (setting 'knowledgeSpaceReadonlyModeTip') Jan 11, 2024
@terwer
Copy link
Owner

terwer commented Jan 11, 2024

非常感谢你的诚恳建议,解答如下:
1、其实这个已经在文档写了,可能不够明显没有注意到,可以看看文档 FAQ 2 和 3。
image

文档地址:https://blog.terwer.space/s/20230810132040-nn4q7vs

另外,还有一些其他用户遇到过的情况,我也基本列了一些。

2、老的配置文件转为新的配置文件这个没有做是为了最大程度是保留用户配置。不过您的这个建议非常好。我会在反复验证的情况下,尝试增加自动迁移功能。我先打开 issue,后续研讨一下最合适的配置更新方案。

TODO:配置文件自动迁移功能完成之后再关闭此 issue。

@terwer terwer reopened this Jan 11, 2024
@terwer terwer changed the title 插件报错 TypeError: Cannot set properties of undefined (setting 'knowledgeSpaceReadonlyModeTip') 按照文档配置之后,还是不能发布,插件报错 TypeError: Cannot set properties of undefined (setting 'knowledgeSpaceReadonlyModeTip') Jan 11, 2024
@terwer terwer added the enhancement New feature or request label Jan 11, 2024
@terwer terwer changed the title 按照文档配置之后,还是不能发布,插件报错 TypeError: Cannot set properties of undefined (setting 'knowledgeSpaceReadonlyModeTip') 历史配置遗留导致按照文档配置之后,还是不能发布,插件报错 TypeError: Cannot set properties of undefined (setting 'knowledgeSpaceReadonlyModeTip') Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development-plan enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants