decosoftware / decosoftware/deco-ide

App fails to build after updating to RN@0.31.0

Open
#141 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.8k
Forks
300
PR merge metrics
No merged PRs in 30d

Description

Really odd issue popped up after updating npm to RN@0.31.0. I can no longer build and run the app. I checked for a Deco update, but I'm up to date (1.1.2). Rolling back to RN@0.30.0 successfully builds.

I get this error:

```
../node_modules/react-native/node_modules/commander/index.js:41
this.required = ~flags.indexOf('<');

TypeError: Cannot read property 'indexOf' of undefined
at new Option (/Users/kanecochran/Google Drive/iOS Development/Arriver/ArriverReact/Arriver/node_modules/react-native/node_modules/commander/index.js:41:25)
at Command.option (../node_modules/react-native/node_modules/commander/index.js:361:16)
at cliEntry.js:118:25
at Array.forEach (native)
at options.forEach (cliEntry.js:118:6)
at cliEntry.js:134:27
at Array.forEach (native)
at Object.run (cliEntry.js:134:12)
at Object. (../Application Support/com.decosoftware.Deco/libs/Scripts/deco-tool/util/rn-cli.js:29:5)
at Module._compile (module.js:413:34)
```

And the app fails to build.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.