Npm ERR! missing script: strapi

Hi All,

First of all I want to say that I am super new to Strapi.

I am trying to follow the steps in this blog Build a blog using Strapi, Angular and Apollo , however, I am having difficulties installing graphql.

When I run: npm run strapi install graphql , I have the below error message

npm ERR! missing script: strapi

My versions:
node v14.17.0
npm v6.14.13

Please can someone point me in the right direction what I am doing wrong?

All I did so far is to run npm install and npx create-strapi-app backend --quickstart --no-run

Thanks in advance.

Try with npx create-strapi-app@latest backend --quickstart --no-run and you also need to navigate into the Strapi directory after you generate it to run the commands.

1 Like

It worked! Thanks DMehaff, I really appreciate your help!

1 Like