Build time in expo server

I use the modules as below.
It takes 10-15 minutes to build javascript bundle for Expo Go now though it just took 10-30s in the begging of the project.

Is it normal time with many modules?
Or I could do a mistake?

It is not so serious now but it is annoying to wait for the long build time…
I hope to compress the time to 30s - 1min hopefully!

package.json

“dependencies”: {

"@expo/react-native-action-sheet": "^3.9.0",

"@react-native-community/masked-view": "0.1.10",

"@react-navigation/native": "^5.9.4",

"@react-navigation/stack": "^5.14.4",

"@turf/turf": "^6.3.0",

"@types/firebase": "^3.2.1",

"@types/react-modal": "^3.12.0",

"algoliasearch": "^4.9.0",

"aws-sdk": "^2.910.0",

"expo": "~41.0.0",

"expo-apple-authentication": "~3.1.0",

"expo-application": "~3.1.2",

"expo-auth-session": "~3.2.3",

"expo-av": "~9.1.2",

"expo-clipboard": "~1.0.2",

"expo-crypto": "~9.1.0",

"expo-file-system": "~11.0.2",

"expo-google-app-auth": "^8.1.7",

"expo-google-sign-in": "~9.1.0",

"expo-image-manipulator": "~9.1.0",

"expo-image-picker": "~10.1.4",

"expo-localization": "~10.1.0",

"expo-location": "~12.0.4",

"expo-media-library": "~12.0.2",

"expo-random": "~11.1.2",

"expo-secure-store": "~10.1.0",

"expo-status-bar": "~1.0.4",

"expo-updates": "~0.5.4",

"firebase": "8.2.3",

"i18n-js": "^3.8.0",

"mapbox-gl": "^2.3.0",

"react": "16.13.1",

"react-dom": "16.13.1",

"react-map-gl": "^6.1.15",

"react-modal": "^3.14.2",

"react-native": "https://github.com/expo/react-native/archive/sdk-41.0.0.tar.gz",

"react-native-appearance": "~0.3.3",

"react-native-chart-kit": "^6.11.0",

"react-native-draggable-flatlist": "^2.6.2",

"react-native-gesture-handler": "~1.10.2",

"react-native-gifted-chat": "^0.16.3",

"react-native-maps": "0.27.1",

"react-native-modal": "^11.10.0",

"react-native-paper": "^4.7.2",

"react-native-reanimated": "~2.1.0",

"react-native-safe-area-context": "3.2.0",

"react-native-screens": "~3.0.0",

"react-native-svg": "12.1.0",

"react-native-web": "~0.13.12",

"react-native-webview": "11.2.3",

"react-native-youtube-iframe": "^2.1.0",

"react-refresh": "^0.10.0",

"rn-swipeable-panel": "^1.2.5",

"video-react": "^0.14.1"

},

“devDependencies”: {

"@babel/core": "~7.9.0",

"@types/react": "~16.9.35",

"@types/react-instantsearch-native": "^6.3.1",

"@types/react-native": "~0.63.2",

"babel-loader": "^8.2.2",

"filesystem": "1.0.1",

"jest": "23.6.0",

"source-map-support": "0.5.12",

"ts-node": "8.1.0",

"typescript": "~4.0.0"

}

Hey @watarumapkid, it’s normal for the building bundle step to increase as the size of your project increases but certainly not to this extent.

Does this only happen with this project or other projects as well? Does this happen when building for android, ios or both platforms? Could you also run expo diagnostics and share what the console says here?

Cheers,
Adam

THis happens in both platform.

Expo go show “New update downloading” in long time and says “Could not connect to development server” soon after command Expo start.
I guess, the server does a toooo heavy job.

also, it takes 2-3 minutes to finish the server, say it only shows “Stopping server…”

This is the result of diagnostics.

Expo CLI 4.7.2 environment info:
System:
OS: Linux 4.19 Debian GNU/Linux 10 (buster) 10 (buster)
Shell: 5.0.3 - /bin/bash
Binaries:
Node: 12.18.1 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.5 - /usr/local/bin/npm
npmPackages:
expo: ~41.0.0 => 41.0.0
react: 16.13.1 => 16.13.1
react-dom: 16.13.1 => 16.13.1
react-native: https://github.com/expo/react-native/archive/sdk-41.0.0.tar.gz => 0.63.2
react-native-web: ~0.13.12 => 0.13.18
npmGlobalPackages:
expo-cli: 4.7.2
Expo Workflow: managed

And I have tested somehow.

The downloading time is shorten as fast as I expect after expo start --web.
Mysterious…