flame
flame copied to clipboard
bugfix: dev-init command not found
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