From bb0bb0527435c5596e9e4c504a2acd71f8d1d9ac Mon Sep 17 00:00:00 2001 From: Sergey Yarkov Date: Sat, 29 Feb 2020 01:07:46 +0300 Subject: [PATCH] npx --- backend/package.json | 2 +- frontend/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/package.json b/backend/package.json index 01252b9..e400a94 100644 --- a/backend/package.json +++ b/backend/package.json @@ -5,7 +5,7 @@ "description": "A Strapi application", "scripts": { "develop": "strapi develop", - "start": "strapi start", + "start": "npx strapi start", "build": "strapi build", "strapi": "strapi" }, diff --git a/frontend/package.json b/frontend/package.json index d9cc47d..ab43982 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -5,7 +5,7 @@ "scripts": { "dev": "next dev", "build": "next build", - "start": "next start" + "start": "npx next start" }, "dependencies": { "@apollo/react-hooks": "^3.1.3",