mimic-recording-studio icon indicating copy to clipboard operation
mimic-recording-studio copied to clipboard

Missing requirments.txt

Open kingpinzs opened this issue 2 years ago • 3 comments

Describe the bug the frontend directory is missing the requirements.txt

To Reproduce Steps to reproduce the behavior:

  1. run start-windows.bat

Expected behavior Runs without the error missing requirements.txt

Log files If possible, add log files from /var/log/mycroft/ to help explain your problem.

You may also include screenshots, however screenshots of log files are often difficult to read and parse.

If you are running Mycroft, the Support Skill helps to automate gathering this information. Simply say "Create a support ticket" and the Skill will put together a support package and email it to you.

Environment (please complete the following information):

  • Device type: [e.g. Raspberry Pi, Mark 1, desktop]
  • OS: [e.g. Ubuntu, Picroft]
  • Mycroft-core version: [e.g. 20.08]
  • Other versions: [e.g. Adapt v0.3.7]

Additional context Add any other context about the problem here.

Please think carefully about whether you have modified anything in Mycroft's code or configuration files. If so, can you reproduce this on a clean installation of Mycroft? Many "bugs" turn out to be non-standard configuration errors.

kingpinzs avatar Oct 04 '21 15:10 kingpinzs

Hi there, thanks for logging some bug reports!

If I'm not mistaken, the backend is a Python Flask app which is why it has a requirements.txt file. Where as the frontend is a Javascript React app so its dependencies are defined in the package.json file.

Let me know if I've missed something.

krisgesling avatar Oct 07 '21 06:10 krisgesling

Interesting - I just saw that start-windows.bat tries to install python dependencies for the frontend - that will never work...

I don't have a Windows machine to test with but can you delete line 81 and try again?

krisgesling avatar Oct 07 '21 06:10 krisgesling

After removing that line the error is gone and everything came up fine.

kingpinzs avatar Oct 07 '21 13:10 kingpinzs