Skip to content

new project with RN 0.60.3 returns ENOENT #25667

@kempoo

Description

@kempoo

Clean install with react-native init AwesomeApp results with ENONET error on react-native run-android

React Native version: 0.60.3
IDE: Visual Studio Code

System:
OS: Windows 10
CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Memory: 2.47 GB / 7.95 GB
Binaries:
Node: 10.3.0 - C:\Program Files\nodejs\node.EXE
npm: 6.1.0 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version 3.4.0.0 AI-183.6156.11.34.5692245

Steps To Reproduce

  1. run react-native init AwesomeApp
  2. run react-native run-android

Describe what you expected to happen:

Command to execute successfully.

Error:

error Failed to run jetifier. Error: spawnSync E:\DEV\AwesomeApp\node_modules\jetifier\bin\jetify ENOENT at Object.spawnSync (internal/child_process.js:981:20) at spawnSync (child_process.js:588:24) at execFileSync (child_process.js:616:13) at Object.runAndroid [as func] (E:\DEV\AwesomeApp\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\index.js:101:41) at Command.handleAction (E:\DEV\AwesomeApp\node_modules\react-native\node_modules\@react-native-community\cli\build\cliEntry.js:160:21) at Command.listener (E:\DEV\AwesomeApp\node_modules\commander\index.js:315:8) at Command.emit (events.js:182:13) at Command.parseArgs (E:\DEV\AwesomeApp\node_modules\commander\index.js:651:12) at Command.parse (E:\DEV\AwesomeApp\node_modules\commander\index.js:474:21) at setupAndRun (E:\DEV\AwesomeApp\node_modules\react-native\node_modules\@react-native-community\cli\build\cliEntry.js:210:24)

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