Skip to content

Error: Command failed with exit code 1: cmd.exe /C E:\lbk\rndemo\node_modules.bin\launchPackager.bat #782

@Liangbaokun

Description

@Liangbaokun

请按以下格式提供问题的相关信息。

问题的具体描述

  • 从官网指示来跑的,运行不起来,刚入坑nr的小白不知道怎么这是哪里的问题,请大佬相助,非常感谢~

  • info Opening app on Android...
    Error: Command failed with exit code 1: cmd.exe /C E:\lbk\rndemo\node_modules.bin\launchPackager.bat
    at makeError (E:\lbk\rndemo\node_modules\execa\lib\error.js:60:11)
    at handlePromise (E:\lbk\rndemo\node_modules\execa\index.js:118:26)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Object.runAndroid [as func] (E:\lbk\rndemo\node_modules@react-native-community\cli-platform-android\build\commands\runAndroid\index.js:96:7)
    at async Command.handleAction (E:\lbk\rndemo\node_modules@react-native-community\cli\build\index.js:118:9)
    image

  • 请尽量配上相关代码截图

请描述完整的环境/版本信息

image
image

环境请看图

预期结果

这个应该构建运行成功

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions