reruin / sharelist

快速分享 GoogleDrive OneDrive
MIT License
2.68k stars 936 forks source link

arm64编译错误能否解决,目前依旧无法运行,盼修复 #751

Closed tbc0309 closed 2 years ago

tbc0309 commented 2 years ago

问题描述 / Describe the bug

查看Actions里面CI编译过程一堆:

Warning Failed to make bytecode node16-arm64 for file /snapshot/sharelist/packages/sharelist

Sharelist 版本 / Sharelist Version

next

复现链接 / Reproduction

./sharelist

日志 / Logs

二进制文件执行后提示:

pkg/prelude/bootstrap.js:1740
      throw error;
      ^

Error: Cannot find module '/snapshot/sharelist/node_modules/only/index'. Please verify that the package.json has a valid "main" entry
1) If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.
    at tryPackage (node:internal/modules/cjs/loader:353:19)
    at Function.Module._findPath (node:internal/modules/cjs/loader:566:18)
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
    at Function._resolveFilename (pkg/prelude/bootstrap.js:1819:46)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at Module.require (pkg/prelude/bootstrap.js:1719:31)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/snapshot/sharelist/node_modules/koa/lib/response.js:18:14)
    at Module._compile (node:internal/modules/cjs/loader:1101:14) {
  code: 'MODULE_NOT_FOUND',
  path: '/snapshot/sharelist/node_modules/only/package.json',
  requestPath: 'only',
  pkg: true
}
reruin commented 2 years ago

@tbc0309 试下 https://github.com/reruin/sharelist/releases/tag/v0.3.13

reruin commented 2 years ago

已修复。