Create-react-native-app: Error running eject: TypeError: Cannot read property 'preset' of undefined

Created on 6 Feb 2018  路  2Comments  路  Source: expo/create-react-native-app

Hi,

I'm trying to eject the app like a regular React Native project, and getting this error.

Operating system: macOS High Sierra 10.13.3
Phone/emulator/simulator & version: iPhone X emulator

moving-to-expo-cli

Most helpful comment

seems to be related to https://github.com/react-community/create-react-native-app/commit/fcc9629b16265cd04a84c96516f13932c79aa793#diff-71cd56714c1de5f358b099bac7336916R200

you can add a jest key back to your package.json with just "jest": {} and run it again to fix the problem.

a PR to fix this would be appreciated

All 2 comments

I have the same issue

seems to be related to https://github.com/react-community/create-react-native-app/commit/fcc9629b16265cd04a84c96516f13932c79aa793#diff-71cd56714c1de5f358b099bac7336916R200

you can add a jest key back to your package.json with just "jest": {} and run it again to fix the problem.

a PR to fix this would be appreciated

Was this page helpful?
0 / 5 - 0 ratings

Related issues

witbybit picture witbybit  路  4Comments

FezVrasta picture FezVrasta  路  3Comments

anp picture anp  路  3Comments

Jawadgee picture Jawadgee  路  3Comments

andyvanosdale picture andyvanosdale  路  3Comments