Closed ATF19 closed 6 years ago
I am, just tried that and still won't load my javascript bundle. Can I ask what version of watchman you are running?
@AlexB801 4.9.0
Here is my package.json
{ "name": "UdaciFitness", "version": "0.1.0", "private": true, "devDependencies": { "react-native-scripts": "1.14.0", "jest-expo": "~27.0.0", "react-test-renderer": "16.3.1" }, "main": "./node_modules/react-native-scripts/build/bin/crna-entry.js", "scripts": { "start": "react-native-scripts start", "eject": "react-native-scripts eject", "android": "react-native-scripts android", "ios": "react-native-scripts ios", "test": "jest" }, "jest": { "preset": "jest-expo" }, "dependencies": { "expo": "^27.0.1", "react": "16.3.1", "react-native": "~0.55.2", "react-navigation": "1.5.11", "react-redux": "^5.0.6", "redux": "^3.7.2", "udacifitness-calendar": "^11.0.0" } }
Hmmm. Keep getting same error about react-native-scripts in node_modules.
@AlexB801 not sure, as I did not receive that message. Are you using NPM or YARN to start the app? I am successful with npm run ios
.
I've tried them all. lol always stops at the javascript bundle load error.
Ive tried everything and still no luck... though it worked using expo XDE
When it says "Starting packager..." press the "q" key. To show QR code
Thank you sir, you make my night!
I've tried to reinstall 'exp' by: sudo npm install -g exp on Mac and the problem is solved.
If you did npm audit fix
you might have updated your dependencies to latest versions and the problem is that REACT-NATIVE 0.56. DOESNT WORK WITH EXPO 27. You should use 0.55. REACT-NATIVE and never run npm audit fix
but npm audit
to fix manually
This works for me in package.json
"expo": "^27.0.1",
"react": "16.3.1",
"react-native": "~0.55.2",
here is table of compatabilities
Even though i've lined up my versions to the table above (row with 0.55.0 react-native), i still get the following error:
Loading dependency graph...jest-haste-map: @providesModule naming collision: Duplicate module name: crud Paths: /Users/name/ProjectName/awsmobilejs/backend/cloud-api/itemsHandler/package.json collides with /Users/name/ProjectName/awsmobilejs/#current-backend-info/cloud-api/itemsHandler/package.json
This warning is caused by a @providesModule declaration with the same name across two different files.
Any idea to resolve this clash?
Description
I can't start any CRNA project because it get stuck at "Starting packager", i tried many project but the problem still remains. It always get stuck at "Starting packager..."
Expected Behavior
It should start the project and show me the expo QR code
Observed Behavior
Stuck at "Starting packager..."
Note
npm shows me an unmet dependency error with expo and react:
npm ERR! peer dep missing: react@>=15.3.1, required by lottie-react-native@1.1.1
npm ERR! peer dep missing: react@>=15.4.0, required by react-native-branch@2.0.0-beta.3
Environment
npm ls react-native-scripts
: react-native-scripts@1.1.0npm ls react-native
: react-native@0.46.4npm ls expo
: expo@19.0.1node -v
: v7.10.0npm -v
: 4.2.0yarn --version
: 0.24.5