Question: I am getting input of details of the employee from the user and then asking the user to enter the name of the employee, he wants to retrieve information of. I am saving all the entered data in a dictionary with employee name as its key and [employee\_id, salary, address] as the values. Now whatever name I enter to retrieve the details, the output is always the details of the last entered employee.

```
    n = int(input('Enter the number of employee: '))
    employees = {}

    for i in range(n):
        name = input('Enter the name of the employee: ')
        emp_id = input("Enter employee Id: ")
        sal = int(input("Enter the employee salary: "))
        address = input('Enter the employee address: ')
        employees[name] = [emp_id, sal, address]

    while True:
        name = input('Enter employee name: ')
        info = employees.get(name, -1)
        if info == -1:
            print('Employee does not exist')
        else:
            print('Employee details are: \n Employee Id: ', emp_id, '\n Salary: ', sal, '\n Address: ', address)

        exit_choice = input('Do you want to exit [Yes|No]: ')
        if exit_choice == 'No' or exit_choice == 'no':
            break

```

I want to get the output as the details of the employee whose name is entered. Please can you help me get out of this situation?

Answer: 
I followed the solution provided at [this link](https://github.com/aiba/react-native-m1/blob/main/README.md), which:

* cleans pod & yarn caches
* then installs a lower version of react-native:  `npx react-native@0.64.2 init MyApp`.

This solved the problem for me.
I also faced this issue but not on M1 Mac

I found that if I create a project in a folder that **contain a white space** *Learning RN/NewProject*, there're an error when we run pod install

I tried to **remove the whitespace** in folder name *LearningRN/NewProject* and it worked well.