我输入npm run bulid的时候报错这些信息
chenchenshaobing@192 官网项目 % npm run bulid
npm ERR! Missing script: "bulid"
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/chenchenshaobing/.npm/_logs/2022-03-27T12_58_52_884Z-debug.log
然后我的package.json文件里面的代码是这些
{
"name": "mall",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start":"webpack-dev-server --open 'Google Chrome'"
},
"author": "",
"license": "ISC",
"devDependencies": {
"art-template-loader": "^1.4.3",
"css-loader": "^4.2.1",
"file-loader": "^6.0.0",
"html-webpack-plugin": "^4.3.0",
"style-loader": "^1.2.1",
"url-loader": "^4.1.0",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
},
"dependencies": {
"art-template": "^4.13.2"
}
}
是不是缺少打包脚本 这个脚本是不是加一行代码进去就可以了吗 如果是老师请帮我改一下
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星