Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
arasnuri opened this issue Dec 16, 2023 · 3 comments
Open

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

arasnuri opened this issue Dec 16, 2023 · 3 comments

Comments

@arasnuri
Copy link

arasnuri commented Dec 16, 2023

"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

@DylanKarimagoko
Copy link

export NODE_OPTIONS=--openssl-legacy-provider

@MrWil95
Copy link

MrWil95 commented Apr 30, 2024

ran command export NODE_OPTIONS=--openssl-legacy-provider but also receiving err missing script: "start"

Screenshot 2024-04-30 103503

@arunakamara
Copy link

Ensure that you're in the right directory, then run the "npm start " command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants