'touch' 不是内部或外部命令,也不是可运行的程序或批处理文件 [英] 'touch' is not recognized as an internal or external command, operable program or batch file

查看:104
本文介绍了'touch' 不是内部或外部命令,也不是可运行的程序或批处理文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 laravel 5,当我输入 windows cmd 这个命令时触摸存储database.sqlite"此错误消息上升'touch' 不是内部或外部命令,也不是可运行的程序或批处理文件.有什么解决办法吗?

I work with laravel 5 , when i type in windows cmd this command "touch storagedatabase.sqlite" this error message rise 'touch' is not recognized as an internal or external command, operable program or batch file. any hint to solve it ?

推荐答案

如果您使用的是 node.js,只需使用 npm 在 Windows 上使用以下命令安装它:

if you are using node.js just use npm to install it on Windows with this command:

npm install touch-cli -g

它会安装触摸的命令行界面,然后你就可以像unix一样使用它了...

it will install the command line interface for touch, you can then use it the same as unix...

这篇关于'touch' 不是内部或外部命令,也不是可运行的程序或批处理文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆