-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install New Project #3098
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I using: npx react-native@latest init MyApp --template @thecodingmachine/react-native-boilerplate
And not using typescript.
Error:
node:internal/errors:841
const err = new Error(message);
^
Error: Command failed: npx tsc --jsx react-native --module ESNext -t esnext --outDir js --noEmit false
at checkExecSyncError (node:child_process:828:11)
at execSync (node:child_process:899:15)
at C:\Users\dang9\AppData\Local\Temp\rncli-init-template-YT17x7\node_modules@thecodingmachine\react-native-boilerplate\template\plugins\compile-js\plugin.js:13:15
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
status: 2,
signal: null,
output: [
null,
Buffer(184) [Uint8Array] [
101, 114, 114, 111, 114, 32, 84, 83, 50, 54, 56, 56,
58, 32, 67, 97, 110, 110, 111, 116, 32, 102, 105, 110,
100, 32, 116, 121, 112, 101, 32, 100, 101, 102, 105, 110,
105, 116, 105, 111, 110, 32, 102, 105, 108, 101, 32, 102,
111, 114, 32, 39, 114, 101, 97, 99, 116, 45, 110, 97,
116, 105, 118, 101, 39, 46, 13, 10, 32, 32, 84, 104,
101, 32, 102, 105, 108, 101, 32, 105, 115, 32, 105, 110,
32, 116, 104, 101, 32, 112, 114, 111, 103, 114, 97, 109,
32, 98, 101, 99,
... 84 more items
],
Buffer(0) [Uint8Array] []
],
pid: 1960,
stdout: Buffer(184) [Uint8Array] [
101, 114, 114, 111, 114, 32, 84, 83, 50, 54, 56, 56,
58, 32, 67, 97, 110, 110, 111, 116, 32, 102, 105, 110,
100, 32, 116, 121, 112, 101, 32, 100, 101, 102, 105, 110,
105, 116, 105, 111, 110, 32, 102, 105, 108, 101, 32, 102,
111, 114, 32, 39, 114, 101, 97, 99, 116, 45, 110, 97,
116, 105, 118, 101, 39, 46, 13, 10, 32, 32, 84, 104,
101, 32, 102, 105, 108, 101, 32, 105, 115, 32, 105, 110,
32, 116, 104, 101, 32, 112, 114, 111, 103, 114, 97, 109,
32, 98, 101, 99,
... 84 more items
],
stderr: Buffer(0) [Uint8Array] []
}
× Processing template
error Command failed with exit code 1: C:\Users\dang9\AppData\Local\Temp\rncli-init-template-YT17x7\node_modules@thecodingmachine\react-native-boilerplate\post-init.script.js.
Error: Command failed with exit code 1: C:\Users\dang9\AppData\Local\Temp\rncli-init-template-YT17x7\node_modules@thecodingmachine\react-native-boilerplate\post-init.script.js
at makeError (C:\Users\dang9\AppData\Local\npm-cache_npx\dea611a43221eddd\node_modules\execa\lib\error.js:60:11)
at handlePromise (C:\Users\dang9\AppData\Local\npm-cache_npx\dea611a43221eddd\node_modules\execa\index.js:118:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async createFromTemplate (C:\Users\dang9\AppData\Local\npm-cache_npx\dea611a43221eddd\node_modules@react-native-community\cli\build\commands\init\init.js:117:7)
at async Object.initialize [as func] (C:\Users\dang9\AppData\Local\npm-cache_npx\dea611a43221eddd\node_modules@react-native-community\cli\build\commands\init\init.js:184:3)
at async Command.handleAction (C:\Users\dang9\AppData\Local\npm-cache_npx\dea611a43221eddd\node_modules@react-native-community\cli\build\index.js:109:9)
info Run CLI with --verbose flag for more details.
I am a newbie, and I have been searching for this issue on Google but still haven't found the answer. Please help me.
The text was updated successfully, but these errors were encountered: