Comments (6)
dev模式下运行可以安装插件,mas打包后不行。初步判断是由于Macos的沙盒机制导致的,正在尝试修复
from piclist.
前置阅读 | Pre-reading
PicList的版本 | PicList Version
1.4.208(商店)
系统信息 | System Information
Mac
问题重现 | Bug reproduce
这里还有一个问题是左边栏和顶部有错位
然而之前已通过homebrew安装过node,在picgo里可以正常安装插件。版本信息:
相关日志 | Logs
2023-03-21 12:30:38 [PicList INFO] [PicList Server] is listening at 36677 2023-03-21 12:32:45 [PicList ERROR] ------Error Stack Begin------ Error: spawn npm ENOENT at ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:478:16) at process.processTicksAndRejections (node:internal/process/task_queues:83:21) -------Error Stack End------- 2023-03-21 12:32:45 [PicList ERROR] NPM is not installed 2023-03-21 12:32:45 [PicList ERROR] 插件安装失败,失败码为-2,错误日志为
2023-03-21 12:33:14 [PicList ERROR] ------Error Stack Begin------ Error: spawn npm ENOENT at ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:478:16) at process.processTicksAndRejections (node:internal/process/task_queues:83:21) -------Error Stack End------- 2023-03-21 12:33:14 [PicList ERROR] NPM is not installed 2023-03-21 12:33:14 [PicList ERROR] 插件安装失败,失败码为-2,错误日志为
2023-03-21 12:33:17 [PicList INFO] [PicList Server] shutdown 2023-03-21 12:33:22 [PicList INFO] [PicList Server] is listening at 36677 2023-03-21 12:34:12 [PicList ERROR] ------Error Stack Begin------ Error: spawn npm ENOENT at ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:478:16) at process.processTicksAndRejections (node:internal/process/task_queues:83:21) -------Error Stack End-------
我尝试了很多方法 ,但仍然没找到可以在沙盒内执行命令行的方法。。不过我找到了一个曲线救国的办法,安装插件的时候,现在会提示用户手动执行npm命令,我会给出具体的命令,执行完成后,点击已添加软件会自动在设置文件内更新插件信息。
这样起码是可以用的了,就是略繁琐了点。。
@wakewon
from piclist.
安装插件的时候,现在会提示用户手动执行npm命令,我会给出具体的命令,执行完成后,点击已添加软件会自动在设置文件内更新插件信息。
确实是一种可行的方法,看起来还是远离MAS保平安了
(不过从release里下载的包也还是有一样的界面问题)
from piclist.
安装插件的时候,现在会提示用户手动执行npm命令,我会给出具体的命令,执行完成后,点击已添加软件会自动在设置文件内更新插件信息。
确实是一种可行的方法,看起来还是远离MAS保平安了 (不过从release里下载的包也还是有一样的界面问题)
MAS的sandbox导致很多限制= _ =
界面问题应该是渲染上的问题,这个后面我修一修
from piclist.
新版本已修复,正在进行app store审核。
from piclist.
这里还有一个问题是左边栏和顶部有错位
from piclist.
Related Issues (20)
- [Bug]: AWS S3 MD5与高级重命名MD5数据不一致 HOT 2
- [Feature]: Docker 配置环境变量 HOT 2
- [Feature]: Piclist自身能否实现EasyWebSvr的功能? HOT 1
- [Bug]: webdav在配置坚果云图床时,会自动出现webdav-...-imp格式的一个配置。如下图 HOT 15
- [Bug]: 开启图片水印后,上传svg的矢量图打不开 HOT 1
- [Feature]: 建议在图片处理选项中,增加预设样式的功能 HOT 1
- [Bug]: 图床链接地址中间总会多一个空格 HOT 2
- [Bug]: Docker 镜像内的 Server 代码跟主线不符 HOT 1
- [Bug]: 特定情况前台GUI崩溃时,PicList后台异常CPU占用 HOT 6
- [Bug]: 配置文件中watermark的大小写问题 HOT 1
- [Feature]: mini窗口贴边隐藏特性&优化问题反馈入口 HOT 2
- [Bug]: 在管理里面本地图片为自定义域名开启强制 HTTPS 无效,自定义域名为 http://127.0.0.1:9090/,复制的路径为绝对路径 HOT 1
- [Bug]: AWS S3上传文件后 获取的url有问题 HOT 3
- [Bug]: 自定义链接格式貌似是失效的 HOT 2
- [Bug]: 批量上传图片只会上传其中一张 HOT 4
- [Feature]: 在docker版本中如何安装插件 HOT 3
- [Bug]: 自带S3图床,Minio S3无法上传 HOT 4
- [Bug]: 强制https对本地图床生效,但是会重复https HOT 2
- [Bug]: 自动复制的链接$fileName为空 HOT 1
- [Bug]: 配置文件中的uploader和current,_configName分别代表什么?? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from piclist.