Giter VIP home page Giter VIP logo

Comments (6)

Kuingsmile avatar Kuingsmile commented on May 23, 2024

dev模式下运行可以安装插件,mas打包后不行。初步判断是由于Macos的沙盒机制导致的,正在尝试修复

from piclist.

Kuingsmile avatar Kuingsmile commented on May 23, 2024

前置阅读 | Pre-reading

PicList的版本 | PicList Version

1.4.208(商店)

系统信息 | System Information

Mac

问题重现 | Bug reproduce

在插件设置中尝试安装插件,提示要求安装nodejs: image

这里还有一个问题是左边栏和顶部有错位

然而之前已通过homebrew安装过node,在picgo里可以正常安装插件。版本信息: image

相关日志 | 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.

wakewon avatar wakewon commented on May 23, 2024

安装插件的时候,现在会提示用户手动执行npm命令,我会给出具体的命令,执行完成后,点击已添加软件会自动在设置文件内更新插件信息。

确实是一种可行的方法,看起来还是远离MAS保平安了
(不过从release里下载的包也还是有一样的界面问题)

from piclist.

Kuingsmile avatar Kuingsmile commented on May 23, 2024

安装插件的时候,现在会提示用户手动执行npm命令,我会给出具体的命令,执行完成后,点击已添加软件会自动在设置文件内更新插件信息。

确实是一种可行的方法,看起来还是远离MAS保平安了 (不过从release里下载的包也还是有一样的界面问题)

MAS的sandbox导致很多限制= _ =
界面问题应该是渲染上的问题,这个后面我修一修

from piclist.

Kuingsmile avatar Kuingsmile commented on May 23, 2024

新版本已修复,正在进行app store审核。

from piclist.

Kuingsmile avatar Kuingsmile commented on May 23, 2024

这里还有一个问题是左边栏和顶部有错位

@wakewon commit f0daf97已修复该问题

from piclist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.