Error Command "build" not found for React website

I have made a website in react following one of the tutorials (Tutorial: Tic-Tac-Toe • React)
I am trying to put it up on render but i keep getting the error:

error Command “build” not found.

I have tried researching and even looking at render’s example react project but I can’t figure out how to solve this problem.

This is my exact code: GitHub - AmethystKnight/React-Tutorial-Tic-Tac-Toe: Tic tac toe made in React, made following a tutorial.

hi Knight
did you try to use npm start?


The package.json in the repo you shared has no “build” script (it doesn’t have any scripts so npm start wouldn’t work either):

Maybe you missed some steps of your tutorial?


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.