🎏背景
如果学习Auto-Photoshop-StableDiffusion-Plugin这个插件的代码思路,了解下comfyui和photoshop如何通信,需要下载代码到本地:https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin
emm,然后加载和运行,然后就会发现各种报错。
比如说:
Cannot find module 'react' or its corresponding type declarations.
Uncaught Error: Module not found: "./typescripts/dist/bundle". Parent module folder was: "./".
等等,界面也会显示不正常。
🎑如何解决
其实作者之前的一个issue里边提到过:
emm...就是这么简单
npm install
npm run build
然后UXP中重新启动该插件就可以了。
这篇文章应该受众蛮小,主要是记录了自己后边看。
🎉写在最后~
去年的时候写了两门比较基础的Stable Diffuison WebUI的基础文字课程,大家如果喜欢的话,可以按需购买,在这里首先感谢各位老板的支持和厚爱~
✨StableDiffusion系统基础课(适合啥也不会的朋友,但是得有块Nvidia显卡):
https://blog.csdn.net/jumengxiaoketang/category_12477471.html
🎆综合案例课程(适合有一点基础的朋友):
https://blog.csdn.net/jumengxiaoketang/category_12526584.html
这里是聚梦小课堂,就算不买课也没关系,点个关注,交个朋友😄