Comments (27)
我没有用过lean源码,你只需要确认一点就是编译进去固件后,直接终端执行 alist
能不能正常启动
from luci-app-alist.
我不能启动,这是我打包的固件,你看看原因https://github.com/tianiue/OpenWrt-Lan/releases/tag/2022.03.10-1957
from luci-app-alist.
我不能启动,这是我打包的固件,你看看原因https://github.com/tianiue/OpenWrt-Lan/releases/tag/2022.03.10-1957
你这是固件 ,我怎么看,我也没法跑
你直接在终端丢 alist
就算失败起码也会有提示
from luci-app-alist.
from luci-app-alist.
缺失前端资源。8f4b584 这个提交之后被修复
from luci-app-alist.
我是拉取你最新的库编译的,还是存在这个问题
from luci-app-alist.
我是拉取你最新的库编译的,还是存在这个问题
如果直接在我仓库上拉取的最新源码,出现这种问题的可能性不高。当然你可以考虑两点原因,1、编译缓存 2、编译机网络(前端源码下载出错 & 编译出错任务不会被叫停)
from luci-app-alist.
你也可以在此处下载prebuilt 安装包使用,它是基于OpenWRT SDK 编译,理论上支持大部分第三方维护的OP固件
https://github.com/sbwml/openwrt-alist/releases/tag/v2.1.3
from luci-app-alist.
我是用github云编译的,编译了3次,结果都是一样
from luci-app-alist.
这我就不清楚了
from luci-app-alist.
昨天重新打包,还是一样,应该是哪里存在兼容问题
from luci-app-alist.
2022-03-11T07:38:09.9429193Z WARNING: Makefile 'package/openwrt-packages/openwrt-alist/alist/Makefile' has a build dependency on 'golang/host', which does not exist
2022-03-11T07:38:09.9429978Z WARNING: Makefile 'package/openwrt-packages/openwrt-alist/alist/Makefile' has a build dependency on 'node/host', which does not exist
2022-03-11T07:38:09.9430966Z WARNING: Makefile 'package/openwrt-packages/openwrt-alist/alist/Makefile' has a build dependency on 'node-yarn/host', which does not exist
2022-03-11T07:38:09.9563920Z WARNING: Makefile 'package/openwrt-packages/openwrt-alist/luci-app-alist/Makefile' has a build dependency on 'luci-base/host', which does not exist
是不是这个原因?
from luci-app-alist.
golang 和 nodejs 必须存在
https://github.com/openwrt/packages/tree/openwrt-21.02/lang/golang
https://github.com/openwrt/packages/tree/openwrt-21.02/lang/node
https://github.com/openwrt/packages/tree/openwrt-21.02/lang/node-yarn
按道理,这些东西默认存在于openwrt 默认feed上
from luci-app-alist.
lean的源码是openwrt-18.06,存在不兼容吗?
from luci-app-alist.
lean的源码是openwrt-18.06,存在不兼容吗?
不知道 ,没接触过你说的这个lean
from luci-app-alist.
lean的源码是openwrt-18.06,存在不兼容吗?
不知道 ,没接触过你说的这个lean
https://github.com/coolsnowwolf/lede
https://github.com/coolsnowwolf/luci
https://github.com/coolsnowwolf/packages
这个仓库
from luci-app-alist.
2.2.0还是一样打包了不能运行,安装正常
from luci-app-alist.
2.2.0还是一样打包了不能运行,安装正常
也许是这插件本身做的就有问题 我服务器系统版本低 没法测试编译lean 所以帮不到你
不过在原版最新openwrt上编译和运行都是没有问题
from luci-app-alist.
云编译脚本你可以测试一下 https://github.com/P3TERX/Actions-OpenWrt
这是我的 https://github.com/tianiue/OpenWrt-Lan
from luci-app-alist.
lean的源码是openwrt-18.06,存在不兼容吗?
需要把node,golang,yarn编译进去。
from luci-app-alist.
手动加上依赖可以啦
打包成功增加了100M文件
from luci-app-alist.
请问下源码里包含后台源码和语言源码吗?
官方源码编译后没看到后台但是能正常运行!
from luci-app-alist.
请问下源码里包含后台源码和语言源码吗?
官方源码编译后没看到后台但是能正常运行!
alist 虽然是前后端源码分离的,但是在编译后,前端和后端会同时打包到二进制执行文件中,编译好后是无法看到前端的文件的
from luci-app-alist.
手动加上依赖可以啦
打包成功增加了100M文件
正常情况下它不需要把node 和 golang 安装到固件中,openwrt 官方源码为例的话它只需要 node&yarn/host 、golang/host ,makefile 也声明依赖了这点 https://github.com/sbwml/openwrt-alist/blob/master/alist/Makefile#L23
from luci-app-alist.
好奇怪!我用官方的源码编译正常运行WEB页面不显示 用lede的源码编译WEB能显示不能运行!但是用lede编译的成品固件安装你提供的安装包可以成功运行
from luci-app-alist.
好奇怪!我用官方的源码编译正常运行WEB页面不显示 用lede的源码编译WEB能显示不能运行!但是用lede编译的成品固件安装你提供的安装包可以成功运行
那肯定是这个插件做的有问题
from luci-app-alist.
我在虚拟机测试基于Lede 源码编译这个插件,确实存在问题,原因是lede 源码存在多个版本Nodejs https://github.com/coolsnowwolf/packages/blob/master/lang/node/Makefile
而编译alist-web 前端需要 Nodejs 14 或以上版本,Lede 源码 node/host 默认情况下是使用 node 12版本就导致了这个 issues 所说的问题。
yarn install v1.22.17
warning package.json: No license field
warning [email protected]: No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version "^14.13.1 || >=16.0.0". Got "12.22.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
cp: cannot stat 'dist/*': No such file or directory
cp: target '../public/assets/' is not a directory
~/lede/package/alist/alist
Finding targets
Building targets
这种问题我也不知道如何从本质上解决,但是如果条件允许的情况下,拉取feeds 源码后,将node源码更换为OpenWRT 官方的版本可以解决这个问题。
rm -rf feeds/packages/lang/node
svn co https://github.com/openwrt/packages/trunk/lang/node feeds/packages/lang/node
from luci-app-alist.
Related Issues (20)
- 夸克在线播放限速 HOT 1
- 3.16版本夸克网盘无法正常播放 HOT 2
- 麻烦大佬把site选项添加上 HOT 1
- 下载的新版,实际是老版本
- 遇到这个问题怎么办 HOT 3
- 求助,单独编译这插件成功,但只有一个alist_3.16.3-1_aarch64_cortex-a53.ipk HOT 2
- 最新版的arm_cortex-a7_neon-vfpv4版本没编译 HOT 2
- master分支编译报错,看openwrt/packages的issues反馈应该是musl 1.2.4依赖的问题 HOT 3
- alist: fix compilation with musl 1.2.4后编译仍然报错 HOT 1
- Alist
- lean源码 golang 必须要1.19.x吗 1.20编译不了😅 HOT 2
- [New Features]请求增加 独立 HTTPS 端口 设置 HOT 4
- 3.20 R4SE 更新IPK后可以启动但无法访问 HOT 8
- Comm: alist Not tainted 4.4.60 #0 HOT 3
- openwrt-21.02-mipsel_24kc docker 上刷新令牌失败 HOT 2
- openwrt-22.03-mipsel_24kc安装alist后无法启动 HOT 5
- 一键安装脚本好像没有用 HOT 4
- 读取密码错误 HOT 2
- CPU占用异常 HOT 2
- [Question] 开源协议
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 luci-app-alist.