Skip to content
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

Cannot read property 'getTime' of undefined #99

Open
Justin-lu opened this issue Dec 30, 2021 · 0 comments
Open

Cannot read property 'getTime' of undefined #99

Justin-lu opened this issue Dec 30, 2021 · 0 comments

Comments

@Justin-lu
Copy link

使用 static-cache 作为静态文件托管,使用过程中,概率出现以下报错

2021-12-30 10:14:09,663 ERROR 247 [-/-/172.16.224.25/64407ebb16408304496621596d00f7/2ms GET /public/common/bi.jpeg] ### onerror handle { TypeError: Cannot read property 'getTime' of undefined
    at /xxxxl/node_modules/_koa-static-cache@5.1.4@koa-static-cache/index.js:86:48 status: 500 }
2021-12-30 10:15:17,903 ERROR 256 [-/-/172.16.224.25/64407ebb16408305179021481d0100/1ms GET /public/common/bi.jpeg] nodejs.TypeError: Cannot read property 'getTime' of undefined
    at /xxxx/node_modules/_koa-static-cache@5.1.4@koa-static-cache/index.js:86:48
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

1 participant