Skip to content

Startup issues #4

@hvictorxy

Description

@hvictorxy

in package.json
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
So,input "npm run dev" occur an error in the console
N:\MySQL\sql_to_ER-main\sql-front>npm run dev
npm error Missing script: "dev"
npm error
npm error To see a list of scripts, run:
npm error npm run
npm error A complete log of this run can be found in: N:\Nodejs\node_cache_logs\2026-02-06T16_26_04_852Z-debug-0.log
You may can use it"npm run serve" to build and it's successful

在 package.json 中
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
输入 "npm run dev" 时发生错误
N:\MySQL\sql_to_ER-main\sql-front>npm run dev
npm 错误:缺少脚本 "dev"
npm 错误
npm 错误:要查看脚本列表,请运行:
npm 错误:npm run
npm 错误:本次运行的完整日志可在以下位置找到:N:\Nodejs\node_cache_logs\2026-02-06T16_26_04_852Z-debug-0.log
您可以使用“npm run serve”进行构建,并且构建成功。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions