-
Notifications
You must be signed in to change notification settings - Fork 938
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.
Description
I got this error from the previous version in new version of boiler plate there is still same error exist this is the main feature of app so any one can start without typescript but i am getting this error
√ 📘 Using typescript ? ... no
📦 Loading the build tool...
Error: spawnSync yarn ENOENT
at Object.spawnSync (node:internal/child_process:1120:20)
at spawnSync (node:child_process:868:24)
at C:\Users\M76681.YAS\AppData\Local\Temp\rncli-init-template-QjuNcT\node_modules@thecodingmachine\react-native-boilerplate\template\plugins\compile-js\plugin.js:56:381.YAS\AppData\Local\Temp\rncli-init-template-QjuNcT\node_modules@thecodingmachine\react-native-boilerplate\template\plugins\compile-js\plugin.js:32:12)
at new Promise ()
at Object.apply (C:\Users\M7668
at applyPlugin (C:\Users\M7668~1.YAS\AppData\Local\Temp\rncli-init-template-QjuNcT\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 yarn',
path: 'yarn',
spawnargs: [ 'add', '-D', 'typescript@5.6.3' ]
}
error An unexpected error occurred: Command failed with exit code 1: C:\Users\M7668~1.YAS\AppData\Local\Temp\rncli-init-template-QjuNcT\node_modules@thecodingmachine\react-native-boilerplate\post-init.script.js.
Version
latest
Do you use TypeScript?
No
On which OS this issue appear on?
None
Desktop OS
Windows