我试图在客户端getCookie上从cookies-next获得cookie,我面临的问题是,在初始呈现时,next.js与错误Cannot read properties of undefined一起崩溃,但是在控制台cookie中总是有一些价值。当我试图使用getServerSideProps从服务器传递cookie时,我从eslint Async arrow function 'getServerSideProps' has no 'await' expres
const T = require("tesseract.js");
T.recognize(url, 'eng').then(out => {return(out.data.text)});url = imageCheck(T, 'EXAMPLEURL');console.log("the url is "+url)the ur