Skip to content

scripts does not work in todo_list/package.json #171

@arasnuri

Description

@arasnuri

"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
}

the above part does not allow the project to start in a Skill Network Labs environment or on macOS.
i had to change it to :

"scripts": {
"start": "export NODE_OPTIONS=--openssl-legacy-provider && react-scripts start",
"build": "export NODE_OPTIONS=--openssl-legacy-provider && react-scripts build",
}

this is only for start and build.

the error i get when i do not make the changes, trying npm start returns the error in the attachments
Screenshot 2023-12-17 at 14 11 16
Screenshot 2023-12-17 at 14 13 59

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