Ask coding questions

← Back to all posts
Npm err missing script: start
h
xryanww

when i cloned a github code and put it on replit it keeps saying this

Voters
xryanww
Comments
hotnewtop
CosmicBear

error is in .replit. You have it run the command run = "npm start" it doesn't know what to start.

xryanww

@CosmicBear it aldready set it

CosmicBear

which file is supposed to run first @xryanww ?

xryanww

@CosmicBear idk I think index.js

CosmicBear

@xryanww try running index.js