Skip to content

BUG #9

@guozhitao-theo

Description

@guozhitao-theo

描述错误
npm run dev 控制台 error

`
javascript modules 3 KiB
./src/assets/ranking/ sync ^./.*.png$ 301 bytes [built]

× error: device not found

2025-07-30 09:50:37.372 chrome-devtools info app connected. null
cmd =============> adb argv: shell,am,broadcast,-a,eskit.sdk.action.CODE_CHANGED,-f,32
2025-07-30 09:56:34.006 process-handler error unhandledRejection Error: Execting adb returns: 4294967295
at ChildProcess. (E:\guozhitao\study\quicktv\hellotv\scripts\utils\exec.js:16:23)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1100:16)
at Socket. (node:internal/child_process:458:11)
at Socket.emit (node:events:513:28)
at Pipe. (node:net:301:12)
2025-07-30 10:37:44.100 chrome-devtools info app connected. null
`

重现行为的步骤
环境:

`
Environment Info:

System:
OS: Windows 10 10.0.19042
CPU: (8) x64 Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz
Memory: 2.86 GB / 15.84 GB
Binaries:
Node: 16.20.2 - D:\utilsApp\nodejs\node.EXE
Yarn: Not Found
npm: 8.19.4 - D:\utilsApp\nodejs\npm.CMD
pnpm: Not Found
@extscreen/es3-debug-server: 0.0.6 => 0.0.6
@extscreen/es3-player: 1.0.17 => 1.0.17
@extscreen/es3-player-manager: ^1.0.26 => 1.0.50
@extscreen/es3-router: 1.0.16 => 1.0.16
@extscreen/es3-video-player: 1.0.32 => 1.0.32
@extscreen/es3-vue: 0.0.14 => 0.0.14
@extscreen/es3-vue-style-parser: 0.0.8 => 0.0.8
@quicktvui/quicktvui3: 1.1.37-beta.3 => 1.1.37-beta.3
npmGlobalPackages:
@quicktvui/cli: Not Found
npm: Not Found
`

步骤:

  1. npm run dev
  2. 打开电视上的运行软件,显式正常 无黄色提示
  3. 遥控器点击 ok 加载测试代码【显式系统维护中请稍后再试】

尝试执行一下命令:
qui debug -s 162.168.0.41 (电脑ip)
adb connect 192.168.0.100 (电视ip)
adb shell am broadcast -a eskit.sdk.action.CODE_CHANGED -f 32

无效,重新 npm run dev 依旧无效

预期行为
解决npm run dev 时 adb device not found 报错

屏幕截图
添加屏幕截图以帮助解释您的问题。

版本环境
请描述你在什么环境下发生的错误,如:

  • @quicktvui/cli 1.0.18
  • runtime: 2.9

其它错误信息上下文
在此处添加有关该问题的任何其它上下文。

`
PS E:\guozhitao\study\quicktv\hellotv> npm run dev

hellotv@1.0.0-beta.0 dev
node ./scripts/env-polyfill.js hippy-dev -c ./scripts/hippy-webpack.dev.js

Start to execute cmd: "hippy-dev -c ./scripts/hippy-webpack.dev.js"
Current openssl version: 1.1.1v+quic
Full command execute: " hippy-dev -c ./scripts/hippy-webpack.dev.js"
2025-07-30 09:50:15.288 entry info version: 0.0.6
2025-07-30 09:50:15.289 entry info start dev argv: {"_":[],"c":"./scripts/hippy-webpack.dev.js","config":"./scripts/hippy-webpack.dev.js","$0":"node_modules\@extscreen\es3-debug-server\dist\index-dev.js"}

  • Using the @hippy/vue-css-loader defined in package.json
  • Using the @vue/runtime-core in E:\guozhitao\study\quicktv\hellotv\node_modules@vue\runtime-core as vue alias
  • Using the @extscreen/es3-vue defined in package.json
    2025-07-30 09:50:16.151 webpack-util info webpack publicPath is set as: http://127.0.0.1:38989/
    (node:5272) [DEP_WEBPACK_WATCH_WITHOUT_CALLBACK] DeprecationWarning: A 'callback' argument needs to be provided to the 'webpack(options, callback)' function when the 'watch' option is set. There is no way to handle the 'watch' optio
    n without a callback.
    (Use node --trace-deprecation ... to show where the warning was created)
    [webpack-dev-server] Project is running at:
    [webpack-dev-server] Loopback: http://localhost:39000/, http://127.0.0.1:39000/
    [webpack-dev-server] Content not from webpack is served from 'E:\guozhitao\study\quicktv\hellotv\public' directory
    adb server version (31) doesn't match this client (41); killing...
  • daemon started successfully
    adb.exe: error: no devices/emulators found
    2025-07-30 09:50:20.745 entry info version: 0.0.6
    2025-07-30 09:50:20.747 debug-server info start server argv: {"_":[],"port":38989,"entry":"dist/dev/index.bundle","host":"0.0.0.0","open":true,"enableIOS":true,"enable-i-o-s":true,"log":"info","iWDPPort":9000,"i-w-d-p-port":9000,"iW
    DPStartPort":9200,"i-w-d-p-start-port":9200,"iWDPEndPort":9300,"i-w-d-p-end-port":9300,"env":"hippy","$0":"node_modules\@extscreen\es3-debug-server\dist\index-debug.js"}
    2025-07-30 09:50:20.819 debug-server info hippy debug steps:
  1. start debug server by run 'npm run hippy:debug'
  2. start dev server by run 'npm run hippy:dev'
  3. open hippy pages with debugMode on mobile/emulator
  4. find connected debug targets on devtools home page: http://localhost:38989/extensions/home.html?env=hippy

find full guide on https://hippyjs.org/#/guide/debug
2025-07-30 09:50:20.825 router info serve bundle: dist/dev/index.bundle; serve folder: E:\guozhitao\study\quicktv\hellotv\dist\dev
2025-07-30 09:50:20.916 child-process info tunnel option: {"adb_path":"E:\guozhitao\study\quicktv\hellotv\node_modules\@extscreen\es3-debug-server\dist\build\win\adb.exe","iwdp":{"iwdp_params":["--no-frontend","--config=n
ull:9000,:9200-9300"],"iwdp_listen_port":9000,"iwdp_path":"E:\guozhitao\study\quicktv\hellotv\node_modules\@extscreen\es3-debug-server\dist\build\win\iwdp1.8.8\ios_webkit_debug_proxy.exe"},"only_use_iwdp":0,"iproxy_path"
:"E:\guozhitao\study\quicktv\hellotv\node_modules\@extscreen\es3-debug-server\dist\build\win\idevice\iproxy.exe","idevice_info_path":"E:\guozhitao\study\quicktv\hellotv\node_modules\@extscreen\es3-debug-server\di
st\build\win\idevice\ideviceinfo.exe"}
(node:17736) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
(Use node --trace-deprecation ... to show where the warning was created)
adb.exe: error: no devices/emulators found
(node:5272) [DEP_WEBPACK_MAIN_TEMPLATE_OUTPUT_OPTIONS] DeprecationWarning: MainTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)
(node:5272) [DEP_WEBPACK_MAIN_TEMPLATE_RENDER_CURRENT_HASH_CODE] DeprecationWarning: MainTemplate.renderCurrentHashCode is deprecated (use RuntimeGlobals.getFullHash runtime function instead)
(node:5272) [DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH] DeprecationWarning: MainTemplate.getAssetPath is deprecated (use Compilation.getAssetPath instead)
(node:5272) [DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE_FN] DeprecationWarning: MainTemplate.requireFn is deprecated (use "webpack_require")
asset index.bundle 21.4 MiB [emitted] (name: index)
runtime modules 27.9 KiB 14 modules
orphan modules 358 bytes [orphan] 8 modules
modules by path ./src/pages/ 1.33 MiB 745 modules
modules by path ./src/components/ 233 KiB 147 modules
modules by path ./src/assets/ 3.3 MiB 89 modules
modules by path ./node_modules/ 1.49 MiB 86 modules
modules by path ./src/api/ 479 KiB 44 modules
modules by path ./src/.vue 8.22 KiB 7 modules
modules by path ./src/tools/ 1.78 KiB 4 modules
modules by path ./src/
.ts 4.43 KiB 2 modules
modules by path ./src/build/.ts 1.7 KiB
./src/build/BuildConfig.ts 424 bytes [built] [code generated]
./src/build/ThemeConfig.ts 1.29 KiB [built] [code generated]
./util.inspect (ignored) 15 bytes [built] [code generated]
webpack 5.101.0 compiled successfully in 9754 ms
[webpack-dev-server] HMR websocket client is connected.
[webpack-dev-server] enable HMR
[webpack-dev-server] enable live reload
2025-07-30 09:50:27.660 webpack-util info bundleUrl: http://127.0.0.1:38989/index.bundle?debugUrl=ws%3A%2F%2F127.0.0.1%3A38989%2Fdebugger-proxy
2025-07-30 09:50:27.661 webpack-util info find debug page on: http://127.0.0.1:38989/extensions/home.html?hash=a25a4e50e9b7cca92283a2fe4db38326
2025-07-30 09:50:27.526 hmr-controller info HMR server connected
2025-07-30 09:50:29.674 webpack-util info bundleUrl: http://127.0.0.1:38989/index.bundle?debugUrl=ws%3A%2F%2F127.0.0.1%3A38989%2Fdebugger-proxy
2025-07-30 09:50:29.675 webpack-util info find debug page on: http://127.0.0.1:38989/extensions/home.html?hash=a25a4e50e9b7cca92283a2fe4db38326
assets by status 21.4 MiB [cached] 1 asset
cached modules 6.84 MiB (javascript) 27.9 KiB (runtime) [cached] 1147 modules
javascript modules 3 KiB
./src/assets/ranking/ sync ^./.
.png$ 301 bytes [built]

× error: device not found

2025-07-30 09:50:37.372 chrome-devtools info app connected. null
cmd =============> adb argv: shell,am,broadcast,-a,eskit.sdk.action.CODE_CHANGED,-f,32
2025-07-30 09:56:34.006 process-handler error unhandledRejection Error: Execting adb returns: 4294967295
at ChildProcess. (E:\guozhitao\study\quicktv\hellotv\scripts\utils\exec.js:16:23)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1100:16)
at Socket. (node:internal/child_process:458:11)
at Socket.emit (node:events:513:28)
at Pipe. (node:net:301:12)
2025-07-30 10:37:44.100 chrome-devtools info app connected. null
2025-07-30 10:46:37.939 chrome-devtools info app connected. null
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions