Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Problem: When running the (old) timetable scraper locally, I see “Error: Failed to launch chrome! … error while loading shared libraries: libXcursor.so.1: cannot open shared object file: No such file or directory” (or similar).

...

Problem: When running the (old) timetable scraper locally, I see “(chrome:10817): Gtk-WARNING **: 19:44:39.628: cannot open display” (or similar).

Solution: Instead of npm start, use npm run start:production. This will launch the headless (hidden) Chromium instances, which don’t need to be displayed.

Problem:When running the (old) timetable scraper locally, I see “Warning: Accessing non-existent property 'count' of module exports inside circular dependency”.

Solution: If this is actually preventing the scraper from working, run npm install mongodb@latest.

Problem: You try to run through windows and get 'REACT_APP_ENVIRONMENT' is not recognized as an internal or external command.

Solution: Install and follow the instructions here → https://www.npmjs.com/package/win-node-env for how to add custom variables.