flame icon indicating copy to clipboard operation
flame copied to clipboard

bugfix: dev-init command not found

Open soulteary opened this issue 3 years ago • 0 comments
trafficstars

The current project lacks a development dependency, which leads to the problem of initialization failure when using the commands in the document.

npm run dev-init


> [email protected] dev-init
> npm run dir-init && npm run init-server && npm run init-client


> [email protected] dir-init
> npx mkdirp data public && touch public/flame.css public/customQueries.json

sh: mkdirp: command not found

When the dependency is completed, execute it again, and the problem is solved.

npm run dev-init       


> [email protected] dev-init
> npm run dir-init && npm run init-server && npm run init-client


> [email protected] dir-init
> npx mkdirp data public && touch public/flame.css public/customQueries.json


> [email protected] init-server
> echo Instaling server dependencies && npm install

Instaling server dependencies

soulteary avatar Jan 04 '22 05:01 soulteary