Инструкция по запуску веб апп Modern Web App Не работает.

Vasiliya year ago

Что делаю :

Modern app is located in the modern subfolder in the traccar-web repository. You should run all the following commands from that subfolder.

Modern web app uses React and Material UI frameworks. It relies on React Scripts for running and building the project with minimal additional configuration.

To run the project in development mode:

  • Make sure you have Traccar backend running locally
  • Install dependencies using npm install command
  • Run development server using npm start command
  • We recommend using Visual Studio Code as the IDE

Но команда npm start не работает, описания команды нет в файлах package.json (lock.json)
Вопрос что я не так делаю ?

npm ERR! Missing script: "start"
npm ERR! 
npm ERR! Did you mean one of these?
npm ERR!     npm star # Mark your favorite packages
npm ERR!     npm stars # View packages marked as favorites
npm ERR! 
npm ERR! To see a list of scripts, run:
npm ERR!   npm run

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/r3mcd/.npm/_logs/2023-02-19T17_03_01_011Z-debug-0.log
r3mcd@r3mcd:~/Документы/js/traccar-web$ 
Anton Tananaeva year ago

Похоже что вы пропустили первый параграф. Вы его даже процетировали, но дальше видно что не из той папки запускаете команды.

Vasiliya year ago

Спасибо за подсказку. Стартануло. )))) Разбираюсь с JS и React.