A cloud where users can make folders, upload all types of files and links, making it easier to keep everything organised and secure with security of Google's Firebase.
If we first fork and clone this repo and run the npm start command, we may encounter the following issue:
Cannot find module 'react'
The error message indicates that the module 'react' cannot be found. This error commonly occurs when the required module is not installed or when there is an issue with the module resolution.
To resolve this issue, the following measures can be taken:
Navigate to the project directory in the command prompt.
Install the 'react' module as a dependency for your project using the command : npm install react
After the installation completes, try running the project again : npm start
If the issue persists, you might need to ensure that all the project dependencies are installed correctly. You can do this by running the following command in the project directory : npm install.
This command will install all the dependencies listed in the package.json file.
After this, again run the command : npm run start
So, this issue and the required action to be taken if this issue appears needs to be mentioned/addressed in the README.md file.
Issue 2.
The following issues do not have a direct impact on the working of the React App but CANNOT be neglected since good coding practice, writing warning-free and clean code, and framework ethics must be maintained.
a]
In src\components\authentication\ContributorsModal.js file, at line 8:13, Effect callbacks are synchronous to prevent race conditions. So the async function needs to be put inside:
This can be done as shown below:
The same needs to be done in the src\components\hooks\useFolder.js (at line 73:13):
After modifying:
b]
Using target="_blank" without rel="noreferrer" (which implies rel="noopener") is a security risk in older browsers.
This can be corrected as follows:
Similar correction is needed in src\components\authentication\ContributorsModal.js (at line 42)
Issue 1.
If we first fork and clone this repo and run the npm start command, we may encounter the following issue: Cannot find module 'react'
The error message indicates that the module 'react' cannot be found. This error commonly occurs when the required module is not installed or when there is an issue with the module resolution.
To resolve this issue, the following measures can be taken:
So, this issue and the required action to be taken if this issue appears needs to be mentioned/addressed in the README.md file.
Issue 2.
The following issues do not have a direct impact on the working of the React App but CANNOT be neglected since good coding practice, writing warning-free and clean code, and framework ethics must be maintained.
a]
In src\components\authentication\ContributorsModal.js file, at line 8:13, Effect callbacks are synchronous to prevent race conditions. So the async function needs to be put inside:
This can be done as shown below:
The same needs to be done in the src\components\hooks\useFolder.js (at line 73:13):
After modifying:
b]
Using target="_blank" without rel="noreferrer" (which implies rel="noopener") is a security risk in older browsers.
This can be corrected as follows:
Similar correction is needed in src\components\authentication\ContributorsModal.js (at line 42)