Skip to content

您好:最新的配置,猫爪catpwd不能加载自建服务器DS #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ne7359 opened this issue Jan 19, 2025 · 4 comments
Open

Comments

@ne7359
Copy link

ne7359 commented Jan 19, 2025

https://github.com/hjdhnx/CatPawOpen/blob/ds-cat/nodejs/source/ds-cat.20250119-1.7z

var index_config_default = {
  drpyS: {
    config_url: "http://drpy-node服务器:5757/config/1?sub=all&pwd=dzyyds",
    // 本地ds 支持
    // config_url: 'http://localhost:5707/config/0?sub=dzyyds', // 本地hipy-t4 支持
    home_site: "http://drpy-node服务器:5757/api/设置中心",

替换为自己的drpy-node服务器,md5产生变化

更改index.config.js.md5

也无法加载DS配置,也就是说不能加载服务器上的配置,只能加载官方的非凡采集

拉取试着编译

编译出错

added 474 packages, and audited 475 packages in 5s
81 packages are looking for funding
  run `npm fund` for details
8 vulnerabilities (2 low, 1 moderate, 5 high)
To address all issues, run:
  npm audit fix
Run `npm audit` for details.
> [email protected] build
> cross-env NODE_ENV=production npm run _build && node copyDist.js D:\soft\猫影视\Release\data\flutter_assets\asset\js
> [email protected] _build
> rimraf dist && node esbuild.js && node esbuild-config.js
Warning: G] Using direct eval with a bundler is not recommended and may cause problems [direct-eval]
    src/spider/book/copymanga.js:101:1[7](https://github.com/ne7359/CatPawOpen/actions/runs/12850237841/job/35829705038#step:4:8):
      101 │     const list = eval($('div[class="row exemptComic-box"]')[0].at...
          ╵                  ~~~~
  You can read more about direct eval and bundling here: https://esbuild.github.io/link/direct-eval
Target directory does not exist: /home/runner/work/CatPawOpen/CatPawOpen/nodejs/D:soft猫影视Releasedataflutter_assetsassetjs
Error: Process completed with exit code 1.

请求修复

@ne7359 ne7359 changed the title 您好:最新的配置,未能加载ds 您好:最新的配置,猫爪catpwd不能加载自建服务器DS Jan 19, 2025
@hjdhnx
Copy link
Owner

hjdhnx commented Jan 19, 2025

最新版已修复

@ne7359
Copy link
Author

ne7359 commented Jan 20, 2025

谢谢您

对了为什么我从您仓库拉取编译出错无法编译完成,我换上搭建的服务器地址

请求帮助,谢谢了

added 474 packages, and audited 475 packages in 5s

81 packages are looking for funding
  run `npm fund` for details

8 vulnerabilities (2 low, 1 moderate, 5 high)

To address all issues, run:
  npm audit fix

Run `npm audit` for details.

> [email protected] build
> cross-env NODE_ENV=production npm run _build && node copyDist.js D:\soft\猫影视\Release\data\flutter_assets\asset\js


> [email protected] _build
> rimraf dist && node esbuild.js && node esbuild-config.js

Warning: G] Using direct eval with a bundler is not recommended and may cause problems [direct-eval]

    src/spider/book/copymanga.js:101:1[7](https://github.com/ne7359/CatPawOpen/actions/runs/12858956510/job/35848770173#step:4:8):
      101 │     const list = eval($('div[class="row exemptComic-box"]')[0].at...
          ╵                  ~~~~

  You can read more about direct eval and bundling here: https://esbuild.github.io/link/direct-eval

Target directory does not exist: /home/runner/work/CatPawOpen/CatPawOpen/nodejs/D:soft猫影视Releasedataflutter_assetsassetjs

@hjdhnx
Copy link
Owner

hjdhnx commented Jan 20, 2025

谢谢您

对了为什么我从您仓库拉取编译出错无法编译完成,我换上搭建的服务器地址

请求帮助,谢谢了

added 474 packages, and audited 475 packages in 5s

81 packages are looking for funding
  run `npm fund` for details

8 vulnerabilities (2 low, 1 moderate, 5 high)

To address all issues, run:
  npm audit fix

Run `npm audit` for details.

> [email protected] build
> cross-env NODE_ENV=production npm run _build && node copyDist.js D:\soft\猫影视\Release\data\flutter_assets\asset\js


> [email protected] _build
> rimraf dist && node esbuild.js && node esbuild-config.js

Warning: G] Using direct eval with a bundler is not recommended and may cause problems [direct-eval]

    src/spider/book/copymanga.js:101:1[7](https://github.com/ne7359/CatPawOpen/actions/runs/12858956510/job/35848770173#step:4:8):
      101 │     const list = eval($('div[class="row exemptComic-box"]')[0].at...
          ╵                  ~~~~

  You can read more about direct eval and bundling here: https://esbuild.github.io/link/direct-eval

Target directory does not exist: /home/runner/work/CatPawOpen/CatPawOpen/nodejs/D:soft猫影视Releasedataflutter_assetsassetjs

1.nodejs及依赖问题。推荐使用nodejs18.x版本然后通过yarn命令安装依赖

2.打包的时候你用打包脚本里那个build而不是带copy的。带copy的自己改后面那个复制到的路径。copy是自动打包并复制到电脑猫的本地js路径。

@ne7359
Copy link
Author

ne7359 commented Jan 20, 2025

由衷的感谢您的回复,谢谢了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants