generated from ibm-developer-skills-network/coding-project-template
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Open
Description
"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
Metadata
Metadata
Assignees
Labels
No labels