Luban icon indicating copy to clipboard operation
Luban copied to clipboard

Bug: White screen on running `npm run dev`

Open Necktwi opened this issue 1 year ago • 1 comments

🐞 bug report

Affected Version(s)

The issue is caused by version 4.7.2 and master

To Reproduce

Steps to reproduce the behavior:

  1. Follow development guide and run npm run dev

Exception or Error

  1. A window with white screen opens.
  2. All the menu items like File, Edit, etc. turn to <key-App>Menu-File, <key-App>Menu-File, etc. soon after the Luban animation stops.
  3. Following errors are seen in the command line
        + 55 hidden modules
<e> [webpack-dev-server] [HPM] Error occurred while proxying request 127.0.0.1:8080/resources/i18n/en/gcode.json to http://localhost:8000/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
<e> [webpack-dev-server] [HPM] Error occurred while proxying request 127.0.0.1:8080/resources/i18n/en/resource.json to http://localhost:8000/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
<e> [webpack-dev-server] [HPM] Error occurred while proxying request 127.0.0.1:8080/resources/i18n/en/gcode.json to http://localhost:8000/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
<e> [webpack-dev-server] [HPM] Error occurred while proxying request 127.0.0.1:8080/resources/i18n/en/resource.json to http://localhost:8000/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
<e> [webpack-dev-server] [HPM] Error occurred while proxying request 127.0.0.1:8080/resources/i18n/en/gcode.json to http://localhost:8000/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
<e> [webpack-dev-server] [HPM] Error occurred while proxying request 127.0.0.1:8080/resources/i18n/en/resource.json to http://localhost:8000/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
<e> [webpack-dev-server] [HPM] Error occurred while proxying request 127.0.0.1:8080/resources/i18n/en/gcode.json to http://localhost:8000/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
<e> [webpack-dev-server] [HPM] Error occurred while proxying request 127.0.0.1:8080/resources/i18n/en/resource.json to http://localhost:8000/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
<e> [webpack-dev-server] [HPM] Error occurred while proxying request 127.0.0.1:8080/resources/i18n/en/gcode.json to http://localhost:8000/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
<e> [webpack-dev-server] [HPM] Error occurred while proxying request 127.0.0.1:8080/resources/i18n/en/resource.json to http://localhost:8000/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
<e> [webpack-dev-server] [HPM] Error occurred while proxying request 127.0.0.1:8080/resources/i18n/en/gcode.json to http://localhost:8000/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
<e> [webpack-dev-server] [HPM] Error occurred while proxying request 127.0.0.1:8080/resources/i18n/en/resource.json to http://localhost:8000/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
<e> [webpack-dev-server] [HPM] Error occurred while proxying request 127.0.0.1:8080/api/signin to http://localhost:8000/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
<e> [webpack-dev-server] [HPM] Error occurred while proxying request 127.0.0.1:8080/api/utils/fonts?_=1680985463817 to http://localhost:8000/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
<e> [webpack-dev-server] [HPM] Error occurred while proxying request 127.0.0.1:8080/api/file/getEnv?_=1680985463833 to http://localhost:8000/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
<e> [webpack-dev-server] [HPM] Error occurred while proxying request 127.0.0.1:8080/api/file/getEnv?_=1680985463833 to http://localhost:8000/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
<e> [webpack-dev-server] [HPM] Error occurred while proxying request 127.0.0.1:8080/api/file/getEnv?_=1680985463834 to http://localhost:8000/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)

Expected behavior

  1. Luban should run normally.

🌍 Your Environment

  • Gentoo, npm-9.6.4, nodejs-18.14.2

Platform:

  • Gentoo && intel i9600k(x86-64)

Necktwi avatar Apr 08 '23 20:04 Necktwi