edu-client icon indicating copy to clipboard operation
edu-client copied to clipboard

Documentation missing installation of dependencies from package.json using 'npm install' / 'yarn install'

Open Kaushal-Dhungel opened this issue 4 years ago • 4 comments

Describe the bug

As per the documentation, after cloning the repository and setting up the remote, one can type 'npm start' / 'yarn start' in terminal directly and the project starts running but instead of running, the command gets terminated with 'react-scripts: not found' warning.

To Reproduce

Steps to reproduce the behavior:

  1. Fork the repo.
  2. Clone the repo.
  3. Set up the remote as per the documentation/README
  4. Open Terminal, go to the project directory and type 'npm start' / 'yarn start'

Environment (please complete the following information):

  • OS:
  • Browser:

Additional context

One should run 'npm install' or 'yarn install' before running 'npm start' / 'yarn start'

Kaushal-Dhungel avatar Mar 12 '21 19:03 Kaushal-Dhungel

It's solved, I guess

Jeevan-Kiran-Lenka avatar Mar 13 '21 07:03 Jeevan-Kiran-Lenka

It's solved, I guess

no its not in case of yarn.

yoayushraj99 avatar Mar 27 '21 18:03 yoayushraj99

Describe the bug

As per the documentation, after cloning the repository and setting up the remote, one can type 'npm start' / 'yarn start' in terminal directly and the project starts running but instead of running, the command gets terminated with 'react-scripts: not found' warning.

To Reproduce

Steps to reproduce the behavior:

  1. Fork the repo.
  2. Clone the repo.
  3. Set up the remote as per the documentation/README
  4. Open Terminal, go to the project directory and type 'npm start' / 'yarn start'

Environment (please complete the following information):

  • OS:
  • Browser:

Additional context

One should run 'npm install' or 'yarn install' before running 'npm start' / 'yarn start'

npm install is working but yarn is not working because to run yarn the repository must contain a yarn.lock file..

yoayushraj99 avatar Mar 27 '21 18:03 yoayushraj99

You should be running yarn before running yarn start

Abhishek-kumar09 avatar Mar 27 '21 18:03 Abhishek-kumar09