lisong / code-push-server

CodePush service is hot update services which adapter react-native-code-push and cordova-plugin-code-push - 热更新
MIT License
1.84k stars 543 forks source link

code-push release-cordova时有时候会报错,运行的www进程会结束 #263

Open leach-chen opened 4 years ago

leach-chen commented 4 years ago

当我上传文件当服务器上时,用如下命令

code-push release-cordova TestCordovaCodePush android -m --description "android code push"

会显示如下错误,导致code-push-server进程结束

[2020-02-07T17:54:58.284] [INFO] http - ::ffff:192.168.0.102 - - "GET /download/fs/FsPCD2PkdSIMvtjp-p78CRYvgGFA HTTP/1.1" 200 42076 "" "undefined" events.js:200 throw er; // Unhandled 'error' event ^

Error: ENOENT: no such file or directory, stat '/tmp/codepush_iHVmsB61jtRT3Cv7IRKPRHUF58LSdRsb/b3e088abbcd74bcbbfd00753d2f6a7cf411ce976785979f2d8d836ec31cb276d/dataCenter/CodePush/js/state/main_menu.js' Emitted 'error' event on ZipFile instance at: at /home/leach/install/code-push-server/node_modules/yazl/index.js:30:26 at FSReqCallback.oncomplete (fs.js:158:21) { errno: -2, code: 'ENOENT', syscall: 'stat', path: '/tmp/codepush_iHVmsB61jtRT3Cv7IRKPRHUF58LSdRsb/b3e088abbcd74bcbbfd00753d2f6a7cf411ce976785979f2d8d836ec31cb276d/dataCenter/CodePush/js/state/main_menu.js' }

这个要怎么解决呢?

wang-weifeng commented 4 years ago

我也遇到这样的错误,你解决了吗