Skip to content

How to run the application  #830

@SravaniJalibili364

Description

@SravaniJalibili364

I need to run the react app and django project . Can you mention the instructions for running it . Which database is used for this project . I'm getting issues while running both react and django project .
Error while running the project
huxley@0.0.0 start /home/applines-03/GitHub/huxley

concurrently "npm run start-js" "npm run start-css"

[1]
[1] > huxley@0.0.0 start-css /home/applines-03/GitHub/huxley
[1] > sass --style=compressed --watch src/sass/styles.scss:public/css/styles.css
[1]
[0]
[0] > huxley@0.0.0 start-js /home/applines-03/GitHub/huxley
[0] > react-scripts start --dev
[0]
[1] sh: 1: sass: not found
[1] npm ERR! code ELIFECYCLE
[1] npm ERR! syscall spawn
[1] npm ERR! file sh
[1] npm ERR! errno ENOENT
[1] npm ERR! huxley@0.0.0 start-css: sass --style=compressed --watch src/sass/styles.scss:public/css/styles.css
[1] npm ERR! spawn ENOENT
[1] npm ERR!
[1] npm ERR! Failed at the huxley@0.0.0 start-css script.
[1] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[1]
[1] npm ERR! A complete log of this run can be found in:
[1] npm ERR! /home/applines-03/.npm/_logs/2023-11-13T06_52_37_516Z-debug.log
[1] npm run start-css exited with code 1
[0] Could not find a required file.
[0] Name: index.html
[0] Searched in: /home/applines-03/GitHub/huxley/public
[0] npm ERR! code ELIFECYCLE
[0] npm ERR! errno 1
[0] npm ERR! huxley@0.0.0 start-js: react-scripts start --dev
[0] npm ERR! Exit status 1
[0] npm ERR!
[0] npm ERR! Failed at the huxley@0.0.0 start-js script.
[0] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[0]
[0] npm ERR! A complete log of this run can be found in:
[0] npm ERR! /home/applines-03/.npm/_logs/2023-11-13T06_52_38_127Z-debug.log
[0] npm run start-js exited with code 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! huxley@0.0.0 start: concurrently "npm run start-js" "npm run start-css"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the huxley@0.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/applines-03/.npm/_logs/2023-11-13T06_52_38_148Z-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions