-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm install后使用npm start启动失败 #23
Comments
windows没有 相关命令的话可以查一下具体的替代命令,我这边也不是很清楚
|
可以用这个命令替代,rimraf需要npm 安装一下,Xcopy是windows命令: "build": "rimraf ./dist && tsc && tsc-alias && node build.js && Xcopy .\views .\dist\views /E/H/C/I && Xcopy .\public .\dist\public /E/H/C/I", |
我也遇到了同样的问题
npm版本是8.3.1 |
我也遇到同样的问题了,你是怎么解决的? |
还没解决 @robotsp |
其实,那个命令就是把public和views文件夹复制进dist,你可以手动操作然后把那个命令删除就可以了,这个解决方法我也是后来发现的 |
webstorm提示,使用@ts-ignore 禁止。
然后我尝试在服务器运行,成功 |
显示如下信息
'rm' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
The text was updated successfully, but these errors were encountered: