Node项目是用Typescript构建的,package.json文件中有三个脚本,但是当我运行它时显示...
如果我在ubuntu中运行此项目,则可以正常运行,但不能在windows中运行
但是在此nodemon之后仍未开始运行项目。
Package.json中的脚本
"start": "tsc --watch & nodemon dist/index.js",
"lint": "tslint -c tslint.json 'src/**/*.ts' --fix",
"build": "tsc"
帮助我解决这个问题,预先谢谢您:)
您似乎缺少&
和tsc --watch
之间的nodemon dist/index.js
字符。单个&
不是有效的and
运算符: