Comments (3)
@fuxingjun 具体原因是用了 download 这个库,这个库依赖 decompress 这个库。decompress 这个库在windows解压压缩包里面的 node_modules 文件夹的时候通过的是这种方式:
if (x.type === 'symlink' && process.platform === 'win32') {
return fsP.link(x.linkname, dest);
}
rubick 里面的一些插件是通过 npm 安装的 node_modules
。npm 为了加速 node_nodules
的安装,所以使用了 smylink
。但是windows上对 symlink
需要系统权限才可以执行 fs.link 或者 fs.symlink。这就导致了这次的报错。
后续解决方案:
rubick 插件包从 npm install
换成 yarn
可解决。yarn 安装看了一下没有 smylink
。但这个改动涉及所有 preload.js 依赖node_modules的插件,所以可能稍微推迟
from rubick.
https://www.pilishen.com/posts/laravel-npm-install-syscall-symlink-error-reason-and-solution
from rubick.
@fuxingjun rubick 2.0
已发布,修改了插件发布体系,更新改动文档和介绍可以参见:https://juejin.cn/post/7045190452340850701/
from rubick.
Related Issues (20)
- 有些插件的详情介绍显示404,还有坏图 HOT 1
- 启动方式不支持ctrl双击设定 HOT 1
- 要花点时间处理一下360的预警
- 分离窗口可以增加快捷键吗
- 优化建议
- 同步报错
- 网页快开遇到的bug
- 希望可以原生支持win on arm
- 增加长按右键可弹出超级面板的功能 HOT 1
- 希望能增加常用插件,备忘录、todo等
- MAC设置不了快捷键 HOT 3
- 输入时无法输入空格 HOT 1
- 超级面板(系统)
- Ubuntu 20.04 启动后窗口空白
- 需要【翻译】功能 HOT 2
- 建议提高utools插件兼容性 HOT 2
- mac版本使用,分离窗口后程序坞能否独立显示。 HOT 1
- 无法定位程序输入点DiscardVirtualMemory于动态链接库KERNEL32.dll上。 HOT 1
- 希望列表支持上箭头,快速跳转到列表底部
- 请问这种情况,该如何修改插件?
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 rubick.