Skip to content
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

TypeError: Cannot read property 'toLowerCase' of undefined #3

Open
afernandez2000 opened this issue Apr 26, 2019 · 8 comments
Open

Comments

@afernandez2000
Copy link

Executing:
ignite new CubaMess -b ignite-boilerplate-andross-typescript

This is the output:

� igniting app CubaMess
√ using the Andross Typescript ignite boilerplate
√ added React Native 0.59.2 in 38.38s
√ Choose Login Screen · Simple Login Screen
√ Choose Main Screen · Navigation Drawer Screen
√ added ignite-boilerplate-andross-typescript in 64.46s
an error occured while installing ignite-boilerplate-andross-typescript boilerplate.
TypeError: Cannot read property 'toLowerCase' of undefined
at Object.install (X:\Work\CubaMess\mobile\CubaMess\node_modules\ignite-boilerplate-andross-typescript\boilerplate.js:207:79)
at process._tickCallback (internal/process/next_tick.js:68:7)
error installing boilerplate

Ignite Doctor output:

λ ignite doctor
System
platform win32

arch x64
cpu 12 cores Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
directory X:\Work\CubaMess\mobile

JavaScript
node 10.13.0 c:\program files\nodejs\node.EXE
npm 6.9.0 c:\program files\nodejs\npm.CMD
yarn 1.12.3 c:\program files (x86)\yarn\bin\yarn.CMD

React Native
react-native-cli 2.0.1

Ignite
ignite 3.0.0-beta.4 c:\yarn\npm\ignite.CMD

Android
java - c:\Program Files\Java\jdk1.8.0_191\bin\java.EXE
android home - C:\Users\SuperAdmin\AppData\Local\Android\Sdk

@rodrigobutta
Copy link

Same here, with any of the templates

image

@yleflour
Copy link

yleflour commented May 6, 2019

Found this on ignite Andross. Issue should be fixed in latest release.

infinitered/ignite-andross#266 (comment)

@yleflour
Copy link

yleflour commented May 8, 2019

It seems that this boilerplate is incompatible with Ignite 3
The PR for the original Andross boilerplate to fix this issue is the following:
infinitered/ignite-andross@96c60fc

@Sundved
Copy link

Sundved commented Jun 5, 2019

PR is merged to master. But it's not working with Ignite 3.1.3 How to fix it?

@yleflour
Copy link

yleflour commented Jun 5, 2019

Sorry for not being clear enough :)

This repo is a fork of ignite-andross so I looked at it's repo for a similar issue.
I came accross a similar issue and this PR infinitered/ignite-andross@96c60fc which fixes the issue.

Applying the same fix to ignite-boilerplate-andross-typescript should also fix it.

The issue is caused by breaking changes from Ignite 2 to Ignite 3.

Hope I made it clearer

@delkant
Copy link

delkant commented Jul 20, 2019

hi @yleflour can you create a pull request if you have done this already?

@lvlrSajjad is that ok with you? this boilerplate looks great to me... I hope you can have a working version soon.

Thanks!

@abuslah
Copy link

abuslah commented Aug 10, 2019

any updates here?

@FrostBy
Copy link

FrostBy commented Mar 4, 2020

The error still exists...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants