在本地项目目录输入命令 npm run build,成功之后运行run-local.sh脚本。在run-local.sh的目录下输入命令./run-local.sh,这样会重启一个项目,我们可以在这里看是否有问题。