Vue-cli3 prompts' prettier' is not an internal or external command

< H2 > package.json < / H2 >
{
  "name": "3d-model-preview",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build",
    "lint": "vue-cli-service lint",
    "format": "prettier --write \"src/**/*.js\" \"src/**/*.vue\""
  },
  "dependencies": {
    "fastclick": "^1.0.6",
    "three": "^0.95.0",
    "vue": "^2.5.17"
  },
  "devDependencies": {
    "@vue/cli-plugin-babel": "^3.0.1",
    "@vue/cli-plugin-eslint": "^3.0.1",
    "@vue/cli-service": "^3.0.1",
    "@vue/eslint-config-prettier": "^3.0.1",
    "node-sass": "^4.9.0",
    "postcss-pxtorem": "^4.0.1",
    "resize-observer-polyfill": "^1.5.0",
    "sass-loader": "^7.0.1",
    "vue-template-compiler": "^2.5.17"
  }
}

run the npm run format prompt in the project root

"prettier" 

but prettier does have

"@vue/eslint-config-prettier": "^3.0.1",

or do you need to install prettier? again?

this project is created with vue-cli3 in company , and then git clone to local
at least the project itself is the same. The problem is that company computers can run format

.

what should I do?

May.22,2021

npm install-g prettier

just install it

take a look at its official website. Here is https://prettier.io/docs/en/i.

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3990f-2c197.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3990f-2c197.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?