'strapi' is not recognized as an internal or external command,

I am trying to install strapi on my local machine after executing npm run develop command I am getting error message.

‘strapi’ is not recognized as an internal or external command,
operable program or batch file.

1 Like

Welcome to the Strapi Community @shivaji :cake:
Are you sure you executed npm run develop in the correct directory. If the answer is yes.
Please make sure you run npm install in the directory first.

Thanks @Eventyret issue has been resolved

Cannot find module ‘D:\sample-one\api\node_modules@strapi\strapi\bin\strapi.js’

Make sure you run yarn install or npm install again and that it is executed with no errors.
Seems it can’t find the strapi binary file.