-
Notifications
You must be signed in to change notification settings - Fork 906
Description
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.To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
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', 'typescript@5.6.3' ]
}
Version
4.5.1
Do you use TypeScript?
No
On which OS this issue appear on?
None
Desktop OS
Win 11
Activity
[-][BUG]: spawnSync npm ENOENT Error occurs when a choose JS configuration[/-][+][BUG]: spawnSync npm ENOENT Error occurs when choose JS configuration[/+]JeremyDolle commentedon Jan 27, 2025
Hi, did you use the default terminal of Windows ? Can you try with git bash for example ?
hijibiji1 commentedon Jan 28, 2025
Hi, yes, I already tried the default terminal on Windows. I also used different Node versions, but nothing happened.
the-marolie commentedon Feb 15, 2025
I'm facing the same issue. Facing the issue on both native terminal as well as gitbash.
JeremyDolle commentedon Apr 7, 2025
What is your node version used for the project and the version of npm too
yasirkhan-am commentedon Jun 19, 2025
i try to fork and edit the repo it is copying from js/src folder but folder exist with this name i think thats why the problem is occuring please fix this issue
akashClarityCx commentedon Jun 19, 2025
im using LTS node version v20 and npm v10.9.2