ignite: Ignite new app does not work

What’s going on?

Attempting to ignite a new app gives the following error: image

I have tried using npm to install the boilerplate for bowser using the command below, and it throws a template not found error. ignite boilerplate-install ignite-bowser MyAwesomeApp --debug --npm


Steps to reproduce

ignite new MyApp


ignite doctor results:

System
  platform           win32
  arch               x64
  cpu                8 cores      Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
  directory          D:\

JavaScript
  node               11.9.0       C:\Program Files\nodejs\node.EXE
  npm                6.5.0        C:\Program Files\nodejs\npm.CMD
  yarn               1.13.0       C:\Users\user\AppData\Roaming\npm\yarn.CMD

React Native
  react-native-cli   2.0.1

Ignite
  ignite             2.2.2        C:\Users\user\AppData\Roaming\npm\ignite.CMD

Android
  java               -            C:\ProgramData\Oracle\Java\javapath\java.EXE
  android home       -            undefined

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 18 (5 by maintainers)

Most upvoted comments

I have been facing the same issues. Tried using an older version of ignite-cli to no success.

Using the exact solution suggested by @jamonholmgren works. Thanks!

Hey I am facing the same issue here, it seems like the issue is with the react-native version that is being installed with ignite-andross

image

error Cannot use React Native CLI to initialize project with version lower than 0.60.0.

If you run ignite with --debug you’ll see more verbose logs which might give you more info to debug this.

@jamonholmgren changing node version from 12.10.0 to 11.10.0 got me past the previous failure involving process.chdir

@jamonholmgren

OS: OS X 10.15 Beta (catalina) Node Version: 12.10.0 Package Manager: yarn

FWIW

~/Repositories via ⬢ v12.10.0
❯ ignite new groupic -b ignite-bowser@4.0.0-alpha.3
-----------------------------------------------
  (                  )   (
  )\ )   (        ( /(   )\ )    *   )
 (()/(   )\ )     )\()) (()/(  ` )  /(   (
  /(_)) (()/(    ((_)\   /(_))  ( )(_))  )\
 (_))    /(_))_   _((_) (_))   (_(_())  ((_)
 |_ _|  (_)) __| | \| | |_ _|  |_   _|  | __|
  | |     | (_ | | .` |  | |     | |    | _|
 |___|     \___| |_|\_| |___|    |_|    |___|
-----------------------------------------------

An unfair headstart for your React Native apps.
https://infinite.red/ignite

-----------------------------------------------

🔥 igniting app groupic
✔ using the Infinite Red boilerplate v3 (code name 'Bowser')
✔ added React Native 0.58.6 in 0.98s
an error occured while installing ignite-bowser boilerplate.
Error: ENOENT: no such file or directory, chdir '/Users/joeyfigaro/Repositories/groupic' -> 'groupic'
    at process.chdir (internal/process/main_thread_only.js:29:13)
    at Object.<anonymous> (/Users/joeyfigaro/.config/yarn/global/node_modules/ignite-cli/build/extensions/reactNative.js:126:33)
    at step (/Users/joeyfigaro/.config/yarn/global/node_modules/ignite-cli/build/extensions/reactNative.js:32:23)
    at Object.next (/Users/joeyfigaro/.config/yarn/global/node_modules/ignite-cli/build/extensions/reactNative.js:13:53)
    at fulfilled (/Users/joeyfigaro/.config/yarn/global/node_modules/ignite-cli/build/extensions/reactNative.js:4:58)
    at processTicksAndRejections (internal/process/task_queues.js:93:5) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'chdir',
  path: '/Users/joeyfigaro/Repositories/groupic',
  dest: 'groupic'
}
error installing boilerplate

@raooll Can you use the newest alphas and see if those work?

yarn global add ignite-cli@3.0.0-alpha.5
ignite new MyApp -b ignite-bowser@4.0.0-alpha.3

@diegotejadav I think the other issue is unrelated, but I could be wrong.