Skip to content
Minsing Log
Go back

English Edition

Cloud IDE Expo Installation

Programming & CS

This is the result of two days of effort spent matching the processes and versions for countless errors. I spent my personal maintenance time for two days staring only at the Linux command prompt. Coding with the cloud IDE in the military PC room… It’s not easy!

If you enter the following commands in the terminal in order, the Expo QR code should appear normally in the terminal window.

Oh, Ubuntu 18.x caused errors, so I set it to version 16.x during the initial container creation process.

1. npx expo install react-native-webview 2. npm install -g expo-cli 3. npm install -g n 4. n stable 5. node -v -> The following errors will appear node: /lib/x86_64-linux-gnu/libm.so.6: version GLIBC_2.27' not found (required by node) node: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.25’ not found (required by node) node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28’ not found (required by node)

** 6. sudo apt-get remove nodejs** ** 7. nvm install 16.15.1 -> It says that the nvm command cannot be found** 8. curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash 9. curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash 10. . ~/.nvm/nvm.sh 11. nvm install 16.15.1 12. expo start 13. Add “type”: “module” to package.json

I received a great deal of help from the following 4 websites (the process)

  1. Basic Expo installation: https://docs.expo.dev/versions/latest/sdk/webview/
  2. A strange syntax error appeared in the terminal: https://forum.goorm.io/topic/16978/%EB%A6%AC%EC%95%A1%ED%8A%B8-%EB%84%A4%EC%9D%B4%ED%8B%B0%EB%B8%8C%EB%A1%9C-expo-%EC%8B%A4%ED%96%89%EC%A4%91-%EC%83%9D%EA%B8%B0%EB%8A%94-%EB%AC%B8%EC%A0%9C%EA%B0%80-%EC%9E%88%EC%8A%B5%EB%8B%88%EB%8B%A4/4
  3. I tried to check node -v at the link above, but node: /lib/x86_64-linux-gnu/libm.so.6: version GLIBC_2.27' not found (required by node) node: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.25' not found (required by node) node: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.28' not found (required by node)

Because the errors appeared, after frantically Googling, I realized I had to reinstall it with a different nodejs version:https://stackoverflow.com/questions/72921215/getting-glibc-2-28-not-found

  1. But it said that the nvm command could not be found, haha. So, in order to install nvm, I followed this link and proceeded as far as activating nvm with . ~/.nvm/nvm.sh: https://jsikim1.tistory.com/176

  2. I returned to the link in step 3 and successfully installed nvm install 16.15.1

  3. expo start, let’s go


Why are there so many things that don’t work in Cloud IDE!!!!!!!!!!!!!!! Let’s make a web app already!!

Photo source: https://namu.wiki/w/%EB%BB%90%ED%81%90

공개 여정 구독

글이 올라오면 이메일로 보내드릴게요.

개발, 창업, 배움, 실패와 회고를 짧고 솔직하게 기록합니다. 검색으로 스쳐가는 독자가 아니라 여정을 따라오는 팬을 만들기 위한 뉴스레터입니다.

뉴스레터는 준비 중입니다. 그동안 RSS 로 구독하거나 이메일 로 알림을 요청해 주세요.


Share this post:

Comments

Sign in with GitHub to leave a comment.


Previous Post
goorm IDE Next.js installation log
Next Post
What is Counter in collections?