Skip to content

[BUG]: spawnSync npm ENOENT Error occurs when choose JS configuration #459

Open
@hijibiji1

Description

@hijibiji1

react-native environment setup

  • I verified that I have not react-native-cli installed globally and be up to date about the React Native environment setup.

Description

√ 📘 Using typescript ? ... no

📦 Loading the build tool...
Error: spawnSync npm ENOENT
at Object.spawnSync (node:internal/child_process:1120:20)
at spawnSync (node:child_process:868:24)
at C:\Users\akash\AppData\Local\Temp\rncli-init-template-bghcBu\node_modules@thecodingmachine\react-native-boilerplate\template\plugins\compile-js\plugin.js:56:38
at new Promise ()
at Object.apply (C:\Users\akash\AppData\Local\Temp\rncli-init-template-bghcBu\node_modules@thecodingmachine\react-native-boilerplate\template\plugins\compile-js\plugin.js:32:12)
at applyPlugin (C:\Users\akash\AppData\Local\Temp\rncli-init-template-bghcBu\node_modules@thecodingmachine\react-native-boilerplate\template\plugins\index.js:30:16)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawnSync npm',
path: 'npm',
spawnargs: [ 'install', '-D', '[email protected]' ]
}

Version

4.5.1

Do you use TypeScript?

No

On which OS this issue appear on?

None

Desktop OS

Win 11

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