hjyssg / ShiguReader

硬核宅宅资源管理器. Ultimate Manga Resource Manager
MIT License
401 stars 45 forks source link

页面全都显示Bad request 400 #51

Closed hhz1213Bunches closed 4 years ago

hhz1213Bunches commented 4 years ago

[0] [0] > ShiguReader@1.2.6 server E:\ShiguReader [0] > nodemon src/server/index.js [0] [1] [1] > ShiguReader@1.2.6 client E:\ShiguReader [1] > webpack-dev-server --mode development --devtool inline-source-map --hot [1] [0] [nodemon] 1.18.9 [0] [nodemon] to restart at any time, enter rs [0] [nodemon] watching: E:\ShiguReader\src\server/*/ src/util.js src/port-config.js src/user-config.js src/path-config [0] [nodemon] starting node src/server/index.js [0] -------------------- [0] process.cwd() E:\ShiguReader [0] filename E:\ShiguReader\src\server\index.js [0] dirname E:\ShiguReader\src\server [0] rootPath E:\ShiguReader [0] log path: E:\ShiguReader\workspace\log\2020-05-15 21-02.log [0] sevenZipPath E:\ShiguReader\resource\7zip [0] ---------------------- [0] [chcp] �����ҳ: 936 [0] Please switch you console encoding to utf8 in windows language setting [0] scanning local files [0] [file-iterator] D:_Happy_Lesson_Going_to_sort_good\good_2020_05_01 does not exist! Please check you path-config and user-config.js [0] [file-iterator] D:_Happy_Lesson_Going_to_sort_good\good_2020_05_01 不存在! 检查一下你的path-config和user-config.js [0] [file-iterator] D:_Happy_Lesson_Going_to_sort_good does not exist! Please check you path-config and user-config.js [0] [file-iterator] D:_Happy_Lesson_Going_to_sort_good 不存在! 检查一下你的path-config和user-config.js [0] [file-iterator] D:_Happy_Lesson_Going_to_sort_Compressed_2020 does not exist! Please check you path-config and user-config.js [0] [file-iterator] D:_Happy_Lesson_Going_to_sort_Compressed_2020 不存在! 检查一下你的path-config和user-config.js [0] [file-iterator] scan: 0 [0] 0.012s to read local dirs [0] Analyzing local files [0] There are 25 files [0] ----------scan cache------------ [0] [file-iterator] scan: 0 [0] ---------------------------------------------------------------- [0] 2020-05-15 21:02 [0] Express Server listening on port 8080 [0] You can open ShiguReader from Browser now! [0] http://localhost:3000 [0] http://10.10.10.3:3000 [0] Scan the QR code to open on mobile devices

[1] clean-webpack-plugin: E:\ShiguReader\dist has been removed. [1] i 「wds」: Project is running at http://0.0.0.0:3000/ [1] i 「wds」: webpack output is served from / [1] i 「wds」: 404s will fallback to /index.html [1] Browserslist: caniuse-lite is outdated. Please run next command npm update caniuse-lite browserslist [1] i 「wdm」: Hash: 8013aaedb73142abd6bb [1] Version: webpack 4.29.0 [1] Time: 17137ms [1] Built at: 2020-05-15 21:02:38 [1] Asset Size Chunks Chunk Names [1] bundle.js 10.2 MiB main [emitted] main [1] favicon-96x96.png 15.4 KiB [emitted] [1] index.html 560 bytes [emitted] [1] Entrypoint main = bundle.js [1] [0] multi (webpack)-dev-server/client?http://0.0.0.0:3000 (webpack)/hot/dev-server.js babel-polyfill ./src/client/index.js 64 bytes {main} [built] [1] [./node_modules/babel-polyfill/lib/index.js] 833 bytes {main} [built] [1] [./node_modules/core-js/fn/regexp/escape.js] 108 bytes {main} [built] [1] [./node_modules/core-js/shim.js] 8.03 KiB {main} [built] [1] [./node_modules/loglevel/lib/loglevel.js] 7.68 KiB {main} [built] [1] [./node_modules/react-dom/index.js] 1.33 KiB {main} [built] [1] [./node_modules/react-router-dom/es/index.js] 1010 bytes {main} [built] [1] [./node_modules/react/index.js] 190 bytes {main} [built] [1] [./node_modules/regenerator-runtime/runtime.js] 23.9 KiB {main} [built] [1] [./node_modules/url/url.js] 22.8 KiB {main} [built] [1] [./node_modules/webpack-dev-server/client/index.js?http://0.0.0.0:3000] (webpack)-dev-server/client?http://0.0.0.0:3000 7.78 KiB {main} [built] [1] [./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 3.58 KiB {main} [built] [1] [./node_modules/webpack-dev-server/client/socket.js] (webpack)-dev-server/client/socket.js 1.05 KiB {main} [built] [1] [./node_modules/webpack/hot/dev-server.js] (webpack)/hot/dev-server.js 1.61 KiB {main} [built] [1] [./src/client/index.js] 295 bytes {main} [built] [1] + 910 hidden modules [1] Child html-webpack-plugin for "index.html": [1] 1 asset [1] Entrypoint undefined = index.html [1] [./node_modules/html-webpack-plugin/lib/loader.js!./public/index.html] 661 bytes {0} [built] [1] [./node_modules/lodash/lodash.js] 528 KiB {0} [built] [1] [./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 472 bytes {0} [built] [1] [./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built] [1] i 「wdm」: Compiled successfully.

hjyssg commented 4 years ago

拉的是最新代码?

hhz1213Bunches commented 4 years ago

拉的是最新代码?

对的,今天刚建的

hjyssg commented 4 years ago

image 今天也很多版本啊 告诉我commit号

hhz1213Bunches commented 4 years ago

image 今天也很多版本啊 告诉我commit号

commit号在哪看,刚才现拉的commit 07618d4也不行,一样400

hjyssg commented 4 years ago

你截bad request 400的我看看 把url和f12带上

hjyssg commented 4 years ago

C3923027-E33A-4162-B85F-7B6B05D46C1B 我的好好的

hhz1213Bunches commented 4 years ago

2 是要看这个吗

hjyssg commented 4 years ago

你当前commit的记录给我看一下

https://stackoverflow.com/questions/11168141/find-which-commit-is-currently-checked-out-in-git

hhz1213Bunches commented 4 years ago

你当前commit的记录给我看一下

https://stackoverflow.com/questions/11168141/find-which-commit-is-currently-checked-out-in-git

看不懂啊大佬,我没用git,只是下载了你源码的zip然后用cmd跑而已

hjyssg commented 4 years ago
  1. 你先重启电脑试试。说不定就好了。
    2 .我觉得你没用最新代码。没用git的话,你就按readme重新下载设置。
hhz1213Bunches commented 4 years ago
  1. 你先重启电脑试试。说不定就好了。 2 .我觉得你没用最新代码。没用git的话,你就按readme重新下载设置。

使用git pull,重新搞了还是一样的问题 $ git show commit 07618d41787c5b05c4c195eb7b7f962b5f4a1a1c (HEAD -> dev, origin/dev, origin/HEAD) Author: aji47 the398355565@gmail.com Date: Fri May 15 21:34:34 2020 +0800

version number

diff --git a/package.json b/package.json index 149288e..1287f74 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ShiguReader",

hjyssg commented 4 years ago

不确定啊 回头慢慢研究吧 你去用旧版本。

hjyssg commented 4 years ago

哦 你清理一下浏览器缓存