I am taking the React Native course on Coursera (https://www.coursera.org/learn/react-native). Unfortunately the course uses a very old version of Expo SDK and create-react-native-app. It uses version 1.0.0 of create-react-native-app.
I was able to create a new project using create-react-native-app@1.0.0. When I try to run the app on an Android emulator, it installs the Expo client app on the emulator and tries to open the project, but gives an error message. Please see attached screenshot.
The error suggests that the Expo client app cannot open projects created with Expo SDK 25.
Is it possible to run projects created with create-react-native-app version 1.0.0 ?.
I tried to use an old version of the Expo client. I downloaded the source code of release: ios/1.15.2 from: Releases · expo/expo · GitHub.
I followed the instructions in the README.md file and installed node version 7.0.0 and npm version 3.10.8. I ran the npm install command from the js/ folder and it completed without errors. But when I ran the npm install command from the tools-public/ folder, it gave the following error:
nadir@nadir-X551MA:~/Projects/mobile/expo/tools-public$ npm install
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! git rev-list -n1 4.0: fatal: ambiguous argument '4.0': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 4.0: Use '--' to separate paths from revisions, like this:
npm ERR! git rev-list -n1 4.0: 'git <command> [<revision>...] -- [<file>...]'
npm ERR! git rev-list -n1 4.0:
npm ERR! git rev-list -n1 4.0: fatal: ambiguous argument '4.0': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 4.0: Use '--' to separate paths from revisions, like this:
npm ERR! git rev-list -n1 4.0: 'git <command> [<revision>...] -- [<file>...]'
npm ERR! git rev-list -n1 4.0:
npm WARN addRemoteGit Error: Command failed: git config --get remote.origin.url
My operating system is Ubuntu 20.04.