[Bug] Can not Create new Project on Windows 10
conradkirschner opened this issue ยท 8 comments
Can not create new Project
What's going on?
I've installed ignite globally on Windows 10.
Then I tried to use the wizzard to create a new project
- adding ignite-andross
- installing boilerplate
- using the Infinite Red boilerplate v2 (code name 'Andross')
โ using the Infinite Red boilerplate v2 (code name 'Andross') - adding React Native 0.59.9 (30 seconds-ish)
โ added React Native 0.59.9 in 34.66s
an error occured while installing ignite-andross boilerplate.
Error: ENOENT: no such file or directory, chdir 'C:\Users\conrad\Desktop\programming project\react-native\ignite\NewsApi' -> 'NewsApi'
at process.chdir (internal/process/main_thread_only.js:29:13)
at Object. (C:\Users\conrad\AppData\Roaming\npm\node_modules\ignite-cli\build\extensions\reactNative.js:114:33)
at step (C:\Users\conrad\AppData\Roaming\npm\node_modules\ignite-cli\build\extensions\reactNative.js:32:23)
at Object.next (C:\Users\conrad\AppData\Roaming\npm\node_modules\ignite-cli\build\extensions\reactNative.js:13:53)
at fulfilled (C:\Users\conrad\AppData\Roaming\npm\node_modules\ignite-cli\build\extensions\reactNative.js:4:58)
at processTicksAndRejections (internal/process/task_queues.js:93:5) {
errno: -4058,
code: 'ENOENT',
syscall: 'chdir',
path: 'C:\Users\conrad\Desktop\programming project\react-native\ignite\NewsApi',
dest: 'NewsApi'
}
error installing boilerplate
Doctor output
System
platform win32
arch x64
cpu 8 cores Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
directory ignite C:\Users\conrad\Desktop\programming project\react-native\ignite
JavaScript
node 12.13.0 C:\Program Files\nodejs\node.EXE
npm 6.12.0 C:\Program Files\nodejs\npm.CMD
yarn 1.19.1 C:\Users\conrad\AppData\Roaming\npm\yarn.CMD
Ignite
ignite-cli 3.3.1 C:\Users\conrad\AppData\Roaming\npm\ignite.CMD
ignite src build C:\Users\conrad\AppData\Roaming\npm\node_modules\ignite-cli\build
generators {}
Android
java - C:\Program Files\Java\jdk-12.0.1\bin\java.EXE
android home - C:\Users\conrad\AppData\Local\Android\Sdk
to get it work, i had to install it NOT GLOBAL should be written into readme, or fixed (this only apears to andross)
seems that it can not finish (stuck on creation)
I have the same issue. How to solve it ?
I found a solution. I reinstalled homebrew, node & npm, ignite-cli, react-native-cli and it worked !
Yes, you are right and I know the homebrew is for mac too. I suggest you guys to use this way that you reinstall node & npm, ignite-cli, react-native-cli to solve your case. Forget homebrew.
I found a solution. I reinstalled homebrew, node & npm, ignite-cli, react-native-cli and it worked !
I have the same issue, and follow your suggest to uninstall all of those packages and reinstall to solve it for the ignite-bowser, but the ignite-andross still have the same error message. Thank you.
@conradkirschner could you please share your workaround here?
@conradkirschner could you please share your workaround here?
Reinstalled windows then it worked (only yarn as global installation), nevertheless such a unstable boilerplate is nothing that I want to use