qor-example icon indicating copy to clipboard operation
qor-example copied to clipboard

[Refactor branch] frontend 运行有错误

Open dfang opened this issue 5 years ago • 1 comments

有注意到 refactor branch 使用了next.js 来重构前端

但是npm run dev 跑起来了, 打开 localhost:3000

invalid json response body at http://localhost:7000/auth/login reason: Unexpected token < in JSON at position 0
FetchError: invalid json response body at http://localhost:7000/auth/login reason: Unexpected token < in JSON at position 0
    at /Users/mj/go/src/github.com/qor/qor-example/frontend/node_modules/node-fetch/lib/body.js:48:31
    at process._tickCallback (internal/process/next_tick.js:68:7)

dfang avatar Jun 02 '19 02:06 dfang

这个分支还没有全部完成。暂时没有打算继续做这块。

jasonweng avatar Aug 21 '19 09:08 jasonweng